llvm.org GIT mirror llvm / df561f4
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 Reid Spencer 14 years ago
1 changed file(s) with 13 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
88 LEVEL = .
99 DIRS = lib/System lib/Support utils lib tools
1010
11
1211 ifneq ($(MAKECMDGOALS),tools-only)
1312 DIRS += runtime
1413 OPTIONAL_DIRS = examples projects
1716 EXTRA_DIST := test llvm.spec include
1817
1918 include $(LEVEL)/Makefile.common
19
20 .PHONY: debug-opt-prof
21 debug-opt-prof:
22 $(Echo) Building Debug Version
23 $(Verb) $(MAKE)
24 $(Echo)
25 $(Echo) Building Optimized Version
26 $(Echo)
27 $(Verb) $(MAKE) ENABLE_OPTIMIZED=1
28 $(Echo)
29 $(Echo) Building Profiling Version
30 $(Echo)
31 $(Verb) $(MAKE) ENABLE_PROFILING=1
2032
2133 dist-hook::
2234 $(Echo) Eliminating CVS directories from distribution