Path: utzoo!attcan!uunet!husc6!bloom-beacon!tut.cis.ohio-state.edu!ukma!nrl-cmf!cmcl2!brl-adm!adm!rbj@cmr.icst.nbs.gov From: rbj@cmr.icst.nbs.gov (Root Boy Jim) Newsgroups: comp.unix.questions Subject: RCS and SCCS Message-ID: <16366@brl-adm.ARPA> Date: 1 Jul 88 20:22:09 GMT Sender: news@brl-adm.ARPA Lines: 41 ? From: Doug Gullett ? The standard MAKE program understands SCCS and not RCS. This one limitation ? is solved by intelligent setup of the makefile dependencies. Try .DEFAULT: co $@ Of course, then you must explicitly list that every .o file depends on the corresponding .c file. Another gambit if you do not use a separate RCS directory and do not keep sources checked out is: .SUFFIXES: .c,v .c,v.o: co $*.c $(CC) $(CFLAGS) -c $*.c rm $*.c Apologys if I screwed up, I just typed this off the top of my head. It is rumored that some people (ok, I give, U of Md. among others) have hacked make to understand RCS, altho to what level , I don't know. Maybe someone with initials ACT will clear this up. :-) Finally, there is GNU make, which recognizes prefixes as well as suffixes, in a totally new (gnu?) way. I have it but haven't used it yet. ? Doug Gullett ? University of NC at Charlotte (Root Boy) Jim Cottrell National Bureau of Standards Flamer's Hotline: (301) 975-5688 The opinions expressed are solely my own and do not reflect NBS policy or agreement Careful with that VAX Eugene!