diff options
| author | John Criswell <criswell@uiuc.edu> | 2003-07-16 20:26:06 +0000 |
|---|---|---|
| committer | John Criswell <criswell@uiuc.edu> | 2003-07-16 20:26:06 +0000 |
| commit | af4d13026c63695c2a9778fc29f0d53fb6da925f (patch) | |
| tree | 3060abc478152586180b12845a985dbf4625e590 | |
| parent | d49975cf292fc3f013096c0c33b0fc88e19c164d (diff) | |
| download | bcm5719-llvm-af4d13026c63695c2a9778fc29f0d53fb6da925f.tar.gz bcm5719-llvm-af4d13026c63695c2a9778fc29f0d53fb6da925f.zip | |
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
| -rw-r--r-- | llvm/Makefile.common | 7 | ||||
| -rw-r--r-- | llvm/Makefile.rules | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/llvm/Makefile.common b/llvm/Makefile.common index f3316ba962b..afe6990256a 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 f3316ba962b..afe6990256a 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 |

