Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!samsung!slug!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!amdahl!pyramid!infmx!jdhicks From: jdhicks@infmx.UUCP (JD Hicks Chicago CN) Newsgroups: comp.unix.wizards Subject: sccs in makefiles Keywords: sccs make Message-ID: <4434@infmx.UUCP> Date: 6 Jun 90 21:19:27 GMT Distribution: usa Organization: Informix Software Inc., Menlo Park, CA. Lines: 53 I have a question regarding the use of sccs and makefiles. The built in rules ( .ie .c~.o ) work fine but the s file has to be in the same directory as the makefile. Is there any way to modify the rule so that make would check in a sccs directory residing below the makefile's directory for dependencay information. See example below. -- Source Directory -|a.out |makefile | -- |objs -|.o file 1 | | . | | . | | . | |.o file n | -- |.c file 1 | . | . | . |.c file n | -- |sccs -|s..c file 1 | | . | | . | | . | |s..c file n | -- -- The proposed rule would look something like this: sccs/.c~objs/.o: only we can't get this to work. Help us wizards please, you are our only hope! Thanks J.D. ----------------------------------------------------------------------- J.D. Hicks Informix Software, Inc. Chicago, IL 60018