# HG changeset patch # User Michael Hope # Date 1317252474 -46800 # Node ID 2c01a02334ea52148a82efac24de371e6d5dc82b # Parent c2b14d2fa5f303196b2cc88d79f50b29171a5100 Makefile: use phony targets Add 'build', 'build-*', and 'install' as phony targets to the top level Makefile. I tend to do everything in tree with the build in a directory called 'build'. This interfered with the target 'build', making it think the target was up to date, and stopping scripts/crosstool-NG.sh from being regenerated. Added 'install' as I often set the prefix to $PWD/install. Signed-off-by: Michael Hope diff -r c2b14d2fa5f3 -r 2c01a02334ea Makefile.in --- a/Makefile.in Tue Oct 04 10:30:54 2011 +1300 +++ b/Makefile.in Thu Sep 29 12:27:54 2011 +1300 @@ -347,3 +347,5 @@ endif # Not --local endif # No extra MAKEFLAGS were added + +.PHONY: build $(patsubst %,build-%,$(TARGETS)) install