Add separate targets for building just the shared or static library.
make static make shared Running "make vm" will build both, as usual. Fixes #322.
This commit is contained in:
@@ -13,10 +13,18 @@ release:
|
||||
debug:
|
||||
@ $(MAKE) -f util/wren.mk MODE=debug
|
||||
|
||||
# A release build of just the VM.
|
||||
# A release build of just the VM, both shared and static libraries.
|
||||
vm:
|
||||
@ $(MAKE) -f util/wren.mk vm
|
||||
|
||||
# A release build of the shared library for the VM.
|
||||
shared:
|
||||
@ $(MAKE) -f util/wren.mk shared
|
||||
|
||||
# A release build of the shared library for the VM.
|
||||
static:
|
||||
@ $(MAKE) -f util/wren.mk static
|
||||
|
||||
# Build all configurations.
|
||||
all: debug release
|
||||
@ $(MAKE) -f util/wren.mk LANG=cpp
|
||||
|
||||
Reference in New Issue
Block a user