Marked some of the phony targets are PHONY. This will hopefully speed
authorJohn Criswell <criswell@uiuc.edu>
Wed, 16 Jul 2003 20:26:06 +0000 (20:26 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Wed, 16 Jul 2003 20:26:06 +0000 (20:26 +0000)
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

Makefile.common
Makefile.rules

index f3316ba962b9b9d40a4383add66296a902434e7c..afe6990256a26320f0da9adf76ffaa94f7cf34cb 100644 (file)
@@ -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
index f3316ba962b9b9d40a4383add66296a902434e7c..afe6990256a26320f0da9adf76ffaa94f7cf34cb 100644 (file)
@@ -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