sccs in makefiles

JD Hicks Chicago CN jdhicks at infmx.UUCP
Thu Jun 7 07:19:27 AEST 1990


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



More information about the Comp.unix.wizards mailing list