aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/unix/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index 4c4a42d..5950639 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -1669,12 +1669,10 @@ 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' > $@
+ cat $(^:%.o=%.d) | 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' > $@
+ cat $(^:%.o=%.d) | sed -e 's/\.o/\.asm/g' > $@
qvmdeps: $(B)/baseq3/vm/vm.d $(B)/missionpack/vm/vm.d