makefiles and sccs

usenet at ge1cbx.UUCP usenet at ge1cbx.UUCP
Sat Feb 4 01:55:30 AEST 1989



The .c~ trick for sccs files works fine when the sccs files are located in
the directory one does the make in.  Few projects I know of can make use of
this; typical setup is sccs somewhere else and development directories where
makes and edits are made.

To support sccs files in another path, I have to do

OFILES = main.o a.o c.o zx.o etc.o
CFILES = main.c a.c c.c zx.c etc.c

$(CFILES):
	get ...


There's gotta be a better way than the above, hopefully an implicit rule of
some sort.  If you know of one, please email.


Thanks in advance,
Terry Lee

uunet!janus!merlin!terry



More information about the Comp.unix.questions mailing list