mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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
This commit is contained in:
parent
efbe40ada6
commit
df561f4ab3
14
Makefile
14
Makefile
@ -9,7 +9,6 @@
|
|||||||
LEVEL = .
|
LEVEL = .
|
||||||
DIRS = lib/System lib/Support utils lib tools
|
DIRS = lib/System lib/Support utils lib tools
|
||||||
|
|
||||||
|
|
||||||
ifneq ($(MAKECMDGOALS),tools-only)
|
ifneq ($(MAKECMDGOALS),tools-only)
|
||||||
DIRS += runtime
|
DIRS += runtime
|
||||||
OPTIONAL_DIRS = examples projects
|
OPTIONAL_DIRS = examples projects
|
||||||
@ -19,6 +18,19 @@ EXTRA_DIST := test llvm.spec include
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
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::
|
dist-hook::
|
||||||
$(Echo) Eliminating CVS directories from distribution
|
$(Echo) Eliminating CVS directories from distribution
|
||||||
$(Verb) $(RM) -rf `find $(TopDistDir) -type d -name CVS -print`
|
$(Verb) $(RM) -rf `find $(TopDistDir) -type d -name CVS -print`
|
||||||
|
Loading…
Reference in New Issue
Block a user