mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Add a convenience target to build all three modes: Debug, Release, Profile
llvm-svn: 18241
This commit is contained in:
parent
7daa0ae9b4
commit
c8ec221b8d
14
Makefile
14
Makefile
@ -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`
|
||||
|
Loading…
x
Reference in New Issue
Block a user