home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!bigboote.WPI.EDU!elm!surendar
- From: surendar@elm (Surendar C.)
- Newsgroups: comp.lang.c
- Subject: Re: learning about make
- Date: 15 Dec 1992 08:07:08 GMT
- Organization: Worcester Polytechnic Institute, Worcester MA 01609, USA.
- Lines: 13
- Message-ID: <1gk3ncINNdl0@bigboote.WPI.EDU>
- References: <1992Dec9.195047.24114@news2.cis.umn.edu>
- Reply-To: surendar@wpi.wpi.edu
- NNTP-Posting-Host: elm.wpi.edu
- X-Newsreader: TIN [version 1.1 PL8]
-
- : What I'd like to see is an example of a combination of makefile and rcs.
- : I've tried setting it up myself, but I am an expert with neither. What I'd
- : like to be able to do is have make compile my program using whatever source
- : files currently exist (and co'ing any which don't) unless I define FINAL, OR
- : something. If FINAL is defined, make would ci all source files and then
- : compile my program. Has anyone else done this?
- UNIX make by default seems to have all these rules builtin. You may want to
- try and do 'make -p' which would print all the rules make knows.
- You can get that in a file and look around to see how the general rules are
- written. I think this makes up a good sample file. You may also want to
- add new file extensions by using .SUFFIXES.
-
- surendar
-