From: John Criswell Date: Wed, 16 Jul 2003 20:26:06 +0000 (+0000) Subject: Marked some of the phony targets are PHONY. This will hopefully speed X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=96914390e6df230aa8226828f09d0bff20b8a8b7;p=oota-llvm.git Marked some of the phony targets are PHONY. This will hopefully speed up builds a little bit since it will prevent GNU make from matching these phony targets against implicit rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7183 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.common b/Makefile.common index f3316ba962b..afe6990256a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -162,6 +162,13 @@ prdirs:: echo "LLVM Source Root: " $(LLVM_SRC_ROOT); echo "LLVM Object Root: " $(LLVM_OBJ_ROOT); +# +# Mark all of these targets as phony. This will hopefully speed up builds +# slightly since GNU Make will not try to find implicit rules for targets +# which are marked as Phony. +# +.PHONY: all dynamic clean distclean install test bytecode prdirs + ########################################################################### # Miscellaneous paths and commands: # This section defines various configuration macros, such as where diff --git a/Makefile.rules b/Makefile.rules index f3316ba962b..afe6990256a 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -162,6 +162,13 @@ prdirs:: echo "LLVM Source Root: " $(LLVM_SRC_ROOT); echo "LLVM Object Root: " $(LLVM_OBJ_ROOT); +# +# Mark all of these targets as phony. This will hopefully speed up builds +# slightly since GNU Make will not try to find implicit rules for targets +# which are marked as Phony. +# +.PHONY: all dynamic clean distclean install test bytecode prdirs + ########################################################################### # Miscellaneous paths and commands: # This section defines various configuration macros, such as where