Unfortunately, I have personally never used this technique but a colleague of mine has so I know, at least for his purposes, the technique works. In case you haven't read the paper, yet, the gist of the technique is:
1. If this is the primary make, cd into the build directory and re-invoke make /with the original targets/. 2. Otherwise, perform the build as usual. Have you read the paper? If so, which part is unclear? HTH, Noel Boris Kolpackov wrote: > > Hi Noel, > > > > In this case no re-execution happens unless you are using some > > > really cool technique inside > > > > > > ifeq ($(MAKELEVEL),0) > > > endif > > > > > > that I am not aware of (and you've got to tell me about it). > > > > Like I suggested in a prior email, please read > > http://make.paulandlesley.org/multi-arch.html for the technique to > > re-execute make. > > Would you care to provide a minimal but working example? The following > makefile is given and you cannot modify it: > > # file: makefile > > .PHONY: foo > > foo: > @echo foo > > You can change MAKEFILES from environment. The result should be make > re-execution even in case when I say 'make foo'. > > > good luck, > -boris > > > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > Name: signature.asc > signature.asc Type: application/pgp-signature > Description: Digital signature _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
