RCS and SCCS
Root Boy Jim
rbj at cmr.icst.nbs.gov
Sat Jul 2 06:22:09 AEST 1988
? From: Doug Gullett <wdg at unccvax.uucp>
? 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 <rbj at icst-cmr.arpa>
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!
More information about the Comp.unix.questions
mailing list