From 89cf5bb67fdae093db25ecb6a50f25a835c8ca6c Mon Sep 17 00:00:00 2001 From: Michael Hope Date: Thu, 29 Sep 2011 12:27:54 +1300 Subject: 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 --git a/Makefile.in b/Makefile.in index e7d6394..f8cc302 100644 --- a/Makefile.in +++ b/Makefile.in @@ -347,3 +347,5 @@ uninstall-man: endif # Not --local endif # No extra MAKEFLAGS were added + +.PHONY: build $(patsubst %,build-%,$(TARGETS)) install -- cgit v0.10.2-6-g49f6