MAKE for large systems
Larry Jones
scjones at sdrc.UUCP
Mon Jun 26 00:18:13 AEST 1989
I've used Make with small programs, but now I'm trying to use it
for a large system with hundreds of files scattered across dozens
of directories and I'm having some trouble figuring out how to
get it to do what I want.
Here's the setup: I have all the source for a subsystem in SCCS
files in one directory. I want the current version of all those
files extracted into another directory. Then, I want all of
those files compiled and added into a library in a third
directory. It would be great if I could somehow key off the SCCS
files to avoid having to explicitly list all the dependencies in
the Makefile, but I'm willing to do it if I have to.
If all the files were in the same directory, this would be
simple, but the Make inference rules don't seem to deal with
multiple directories (i.e. a dependency like:
foo.c: $(SCCSDIR)/s.foo.c
doesn't seem to use the ".c~.c" inference rule to create foo.c).
Any and all suggestions or examples would be greatly
appreciated.
----
Larry Jones UUCP: uunet!sdrc!scjones
SDRC scjones at SDRC.UU.NET
2000 Eastman Dr. BIX: ltl
Milford, OH 45150-2789 AT&T: (513) 576-2070
"You can't get a body like mine in a bottle --
unless you push REAL HARD." - Judy Tenuta / Dr. Pepper
More information about the Comp.unix.questions
mailing list