diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 09:08:54 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-25 09:08:54 +0000 |
commit | df561f4ab347736cc513ef0483d9049987ac32c9 (patch) | |
tree | ff8e0031b5be481c87b5f80adc94966a2ba6ac02 /Makefile | |
parent | efbe40ada6e76cc265b3feab7ab57db870ce0f22 (diff) | |
download | llvm-df561f4ab347736cc513ef0483d9049987ac32c9.tar.gz llvm-df561f4ab347736cc513ef0483d9049987ac32c9.tar.bz2 llvm-df561f4ab347736cc513ef0483d9049987ac32c9.tar.xz |
Add a convenience target to build all three modes: Debug, Release, Profile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18241 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -9,7 +9,6 @@ LEVEL = . DIRS = lib/System lib/Support utils lib tools - ifneq ($(MAKECMDGOALS),tools-only) DIRS += runtime OPTIONAL_DIRS = examples projects @@ -19,6 +18,19 @@ EXTRA_DIST := test llvm.spec include include $(LEVEL)/Makefile.common +.PHONY: debug-opt-prof +debug-opt-prof: + $(Echo) Building Debug Version + $(Verb) $(MAKE) + $(Echo) + $(Echo) Building Optimized Version + $(Echo) + $(Verb) $(MAKE) ENABLE_OPTIMIZED=1 + $(Echo) + $(Echo) Building Profiling Version + $(Echo) + $(Verb) $(MAKE) ENABLE_PROFILING=1 + dist-hook:: $(Echo) Eliminating CVS directories from distribution $(Verb) $(RM) -rf `find $(TopDistDir) -type d -name CVS -print` |