diff options
Diffstat (limited to 'code/unix/Makefile')
-rw-r--r-- | code/unix/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile index 82bbe0a..28132f5 100644 --- a/code/unix/Makefile +++ b/code/unix/Makefile @@ -583,7 +583,8 @@ ifneq ($(BUILD_GAME_QVM),0) $(B)/baseq3/vm/ui.qvm \ $(B)/missionpack/vm/qagame.qvm \ $(B)/missionpack/vm/cgame.qvm \ - $(B)/missionpack/vm/ui.qvm + $(B)/missionpack/vm/ui.qvm \ + qvmdeps endif endif @@ -1640,6 +1641,16 @@ installer: build_release D_FILES=$(shell find . -name '*.d') +$(B)/baseq3/vm/vm.d: $(Q3GOBJ) $(Q3CGOBJ) $(Q3UIOBJ) + -rm -f $@ + find $(B)/baseq3 -iname '*.d' | xargs sed -e 's/\.o/\.asm/g' > $@ + +$(B)/missionpack/vm/vm.d: $(MPGOBJ) $(MPCGOBJ) $(MPUIOBJ) + -rm -f $@ + find $(B)/missionpack -iname '*.d' | xargs sed -e 's/\.o/\.asm/g' > $@ + +qvmdeps: $(B)/baseq3/vm/vm.d $(B)/missionpack/vm/vm.d + ifneq ($(strip $(D_FILES)),) include $(D_FILES) endif |