aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-06 21:56:50 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2006-01-06 21:56:50 +0000
commitaba72be8dea23d2d66ac66efc0ad70da85319d83 (patch)
tree61fd6f6c72f16c8dd4953d6ef36f9c8eab2ecc65
parentf9b41461c03b30c9e4fe8d20606a7c22bfed0ec1 (diff)
downloadioquake3-aero-aba72be8dea23d2d66ac66efc0ad70da85319d83.tar.gz
ioquake3-aero-aba72be8dea23d2d66ac66efc0ad70da85319d83.zip
* Use a slightly different method for generating qvm dependencies to avoid
FreeBSD 'find' weirdness git-svn-id: svn://svn.icculus.org/quake3/trunk@467 edf5b092-35ff-0310-97b2-ce42778d08ea
-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