summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorMichael Hope <michael.hope@linaro.org>2011-09-28 23:27:54 (GMT)
committerMichael Hope <michael.hope@linaro.org>2011-09-28 23:27:54 (GMT)
commit89cf5bb67fdae093db25ecb6a50f25a835c8ca6c (patch)
treea65f18abb742dc1c22ef70748e5ced0081f06130 /Makefile.in
parentc61ad06f9181354a20734a84ae19d15a1fceaa2f (diff)
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 <michael.hope@linaro.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
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