diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2019-12-22 21:53:22 +0000 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2019-12-22 21:53:22 +0000 |
commit | ed486d7fe4085aace0696034197b2ff215f74409 (patch) | |
tree | be8c1f98c6e394ed0f4ac2f8a7b3f565aec1a6bf /GNUmakefile | |
parent | dbd9e5f86c517d1532fa911b9187f8fcf3f9f790 (diff) |
fix makefile
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile index 6a91b6b..ee68145 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1149,9 +1149,14 @@ $(B)/out/$(BASEGAME)_11/vm/ui.qvm: $(UIVMOBJ11) $(UIDIR)/ui_syscalls_11.asm $(Q3 ############################################################################# ## QVM Package ############################################################################# - -$(B)/out/$(BASEGAME)/vms-gpp1-$(VERSION).pk3: $(B)/out/$(BASEGAME)/vm/ui.qvm $(B)/out/$(BASEGAME)/vm/cgame.qvm $(B)/out/$(BASEGAME)/vm/game.qvm - @(cd $(B)/out/$(BASEGAME) && zip -r vms-gpp1-$(VERSION).pk3 vm/) + +ifeq ($(BUILD_ONLY_CGUI),0) + $(B)/out/$(BASEGAME)/vms-gpp1-$(VERSION).pk3: $(B)/out/$(BASEGAME)/vm/ui.qvm $(B)/out/$(BASEGAME)/vm/cgame.qvm $(B)/out/$(BASEGAME)/vm/game.qvm + @(cd $(B)/out/$(BASEGAME) && zip -r vms-gpp1-$(VERSION).pk3 vm/) + else + $(B)/out/$(BASEGAME)/vms-gpp1-$(VERSION).pk3: $(B)/out/$(BASEGAME)/vm/ui.qvm $(B)/out/$(BASEGAME)/vm/cgame.qvm + @(cd $(B)/out/$(BASEGAME) && zip -r vms-gpp1-$(VERSION).pk3 vm/) +endif $(B)/out/$(BASEGAME)_11/vms-1.1.0-$(VERSION).pk3: $(B)/out/$(BASEGAME)_11/vm/ui.qvm $(B)/out/$(BASEGAME)_11/vm/cgame.qvm @(cd $(B)/out/$(BASEGAME)_11 && zip -r vms-1.1.0-$(VERSION).pk3 vm/) |