Le 4 juil. 2012 à 11:54, Stefano Lattarini a écrit : > Hi Akim.
Hi! >> There no way to have PHONY targets first? About Makefile. >> > I'm not sure I'm following. You mean having a way to ensure some target are > considered before all the other ones (apart their dependencies, of course)? > Like, in an hypothetical version of GNU make 3.83, something like this: > > .EARLY: $(BUILT_SOURCES) I was referring to add dependencies to Makefile. Since it is handled very early, I guess it is quite equivalent to your .EARLY. I believe such dependencies do not trigger reloading Makefile. > $ cat Makefile > all: > echo all > > Makefile: foo bar baz > > baz: > echo $@>$@ > > foo bar: > echo $@>$@ > $ rm -f foo bar baz > $ make > echo foo>foo > echo bar>bar > echo baz>baz > echo all > all > $ make > echo all > all > $ rm -f foo > $ make > echo foo>foo > echo all > all > $ rm -f bar baz > $ make > echo bar>bar > echo baz>baz > echo all > all >
