From af4d13026c63695c2a9778fc29f0d53fb6da925f Mon Sep 17 00:00:00 2001 From: John Criswell Date: Wed, 16 Jul 2003 20:26:06 +0000 Subject: [PATCH] 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. llvm-svn: 7183 --- llvm/Makefile.common | 7 +++++++ llvm/Makefile.rules | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/llvm/Makefile.common b/llvm/Makefile.common index f3316ba962b9..afe6990256a2 100644 --- a/llvm/Makefile.common +++ b/llvm/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/llvm/Makefile.rules b/llvm/Makefile.rules index f3316ba962b9..afe6990256a2 100644 --- a/llvm/Makefile.rules +++ b/llvm/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