[comp.sources.wanted] "build" --- version of make

crm@duke.cs.duke.edu (Charlie Martin) (05/05/88)

I read recently of a version of make(1) called --- I think --- build,
which allowed paths to be established for files in the dependencies
lists.  This modification makes it possible to build personal variants
of a system, using files from the path rather than just the local
directory.

For example, with a file-path of .:/usr/local/src/foo,
a makefile

#	example
foo: foo.o bar.o
	cc -o foo foo.o bar.o
bar.o:
	cc -c bar.c

could go get the missing foo.o file (if it existed) from
/usr/local/src/foo.

This would be a great help during our current development; I'd
appreciate if anyone can tell how this can be obtained.


-- 
Charlie Martin (crm@cs.duke.edu,mcnc!duke!crm) 

wcs@skep2.ATT.COM (Bill.Stewart.<ho95c>) (05/10/88)

In article <11694@duke.cs.duke.edu> crm@duke.cs.duke.edu (Charlie Martin) writes:
:I read recently of a version of make(1) called --- I think --- build,
:which allowed paths to be established for files in the dependencies
:lists.  This modification makes it possible to build personal variants
:of a system, using files from the path rather than just the local
:directory.
	I don't know if build is available outside AT&T, but I think the 
	nmake 4th generation make program (which is newer) is available
	through the AT&T Toolchest.
-- 
#				Thanks;
# Bill Stewart, AT&T Bell Labs 2G218, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs
# skep2 is a local machine I'm trying to turn into a server.  Please send
# mail to ho95c or ho95e instead.  Thanks.

rk9005@cca.ucsf.edu (Roland McGrath) (05/11/88)

This is possible with the most recent version of GNU Make (soon to be
released).  Unlike `nmake', GNU Make is free and it is also supported (to
some extent) by me (one of its authors).  GNU Make is very powerful but
it does not go completely outside the realm of a reasonable `make'
program as AT&T's `nmake' and `mk' do.  These programs do things as hairy
as using state files and having a syntax so extended that one could more
simply write a C program to accomplish the same results.
-- 
	Roland McGrath
Internet:	roland@wheaties.ai.mit.edu
UUCP:		mit-eddie!wheaties.ai.mit.edu!roland