diff options
author | Michael Hope <michael.hope@linaro.org> | 2011-09-29 12:27:54 +1300 |
---|---|---|
committer | Michael Hope <michael.hope@linaro.org> | 2011-09-29 12:27:54 +1300 |
commit | 89cf5bb67fdae093db25ecb6a50f25a835c8ca6c (patch) | |
tree | a65f18abb742dc1c22ef70748e5ced0081f06130 /Makefile.in | |
parent | c61ad06f9181354a20734a84ae19d15a1fceaa2f (diff) | |
download | crosstool-ng-89cf5bb67fdae093db25ecb6a50f25a835c8ca6c.tar.gz crosstool-ng-89cf5bb67fdae093db25ecb6a50f25a835c8ca6c.tar.bz2 crosstool-ng-89cf5bb67fdae093db25ecb6a50f25a835c8ca6c.zip |
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.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index e7d63949..f8cc3020 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 |