improved ? make

P. T. Withington ptw at vaxine.UUCP
Fri Feb 24 22:51:38 AEST 1984


The augmented make that came with sysIII (and V?) has some built-in rules of
the form:

.c~.c:
        $(GET) $(GETFLAGS) -p $< > $*.c

which have the unfortunate consequence of clobbering a file you have out for
editing any time someone touches the s. file (e.g., makes a branch, does an
admin).  Can anyone explain the rationale for "-p >"?  Is this soley to support
makes in remote directories? Couldn't the same effect be had by:

.c~.c:
        cd $(*D); $(GET) $(GETFLAGS) $$old/$(<F)

(The old is superfluous if your get knows where to look to get things.)

                                -ptw



More information about the Comp.unix.wizards mailing list