home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18373 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.2 KB

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