From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,42f7a8aed1510a9b X-Google-Attributes: gidfee84,public From: Monty Brandenberg Subject: Re: Default makefile in Digital Unix Date: 1998/10/07 Message-ID: <361BA9FC.BBC80832@ne.mediaone.net>#1/1 X-Deja-AN: 398701908 References: <6vdqhd$h29$1@nnrp1.dejanews.com> To: esafran@aluar.com.ar Content-Type: multipart/mixed; boundary="------------BF44F533F39BC26031398753" Organization: MCB, Inc. Mime-Version: 1.0 Reply-To: mcbinc@ne.mediaone.net Newsgroups: comp.unix.osf.osf1 This is a multi-part message in MIME format. --------------BF44F533F39BC26031398753 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit esafran@aluar.com.ar wrote: > > Can anyone help me? Thanks. I had my fun now... It wasn't clear if you were looking for the builtin rule set or really wanted an example. If the latter, you might consider Imakefiles and 'xmkmf'. Attached is the Imakefile from xcolors. Save it in a temp area as Imakefile, run 'xmkmf' on it, and examine the result. While Imakefiles can be a pain to figure out, leveraging the X compilation environment can isolate system dependencies very nicely. m -- Monty Brandenberg, Software Consultant MCB, Inc. mcbinc@ne.mediaone.net.MAPS.SPAM P.O. Box 426188 mcbinc@world.std.com.MAPS.SPAM Cambridge, MA 02142 617.864.6907 --------------BF44F533F39BC26031398753 Content-Type: text/plain; charset=us-ascii; name="Imakefile.example" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Imakefile.example" XCOMM $XConsortium: Imakefile,v 1.2 94/06/06 20:28:45 gildea Exp $ RGBDBFILE = DefaultRGBDatabase DEPLIBS = XawClientDepLibs LOCAL_LIBRARIES = XawClientLibs SRCS = xcolors.c OBJS = xcolors.o SYS_LIBRARIES = -lm DEFINES = -DRGB_TXT=\"$(RGBDBFILE).txt\" ComplexProgramTarget(xcolors) InstallAppDefaults(Xcolors) --------------BF44F533F39BC26031398753--