Path: utzoo!utgpu!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!cwjcc!hal!nic.MR.NET!tank!ncar!boulder!sunybcs!bingvaxu!leah!itsgw!nyser!cmx!jerryp From: jerryp@cmx.npac.syr.edu (Jerry Peek) Newsgroups: comp.unix.questions Subject: Re: make & RCS Message-ID: <810@cmx.npac.syr.edu> Date: 6 Nov 88 20:18:52 GMT References: <752@paris.ics.uci.edu> Reply-To: jerryp@cmx.npac.syr.edu (Jerry Peek) Organization: Northeast Parallel Architectures Center, Syracuse NY Lines: 22 [This posting was pretty old, but I figured I'd answer since no one else did. The disadvantages of reading news once a month, sigh...] In article <752@paris.ics.uci.edu> nagel@paris.ics.uci.edu (Mark Nagel) writes: > Not having a make that knows about RCS is a real pain. As far as I > can tell, I need to explicitly state dependencies between RCS/foo.c,v > and foo.c for all files in my project. When you say "that knows about RCS," do you mean your make doesn't have rules like .c,v.c defined? That's probably too simple an explanation. Does your make understand .PREFIXES? If it does, you can put the following line in your makefile. If make doesn't find a .c,v file in the current directory, this tells it to check the ./RCS directory as well: .PREFIXES: ./RCS You can add other directories (like /usr/project/RCS) at the end, too. --Jerry Peek, Northeast Parallel Architectures Center, Syracuse, NY jerryp@cmx.npac.syr.edu +1 315 443-1722