r467 - trunk/code/unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jan 6 16:56:50 EST 2006


Author: tma
Date: 2006-01-06 16:56:50 -0500 (Fri, 06 Jan 2006)
New Revision: 467

Modified:
   trunk/code/unix/Makefile
Log:
* Use a slightly different method for generating qvm dependencies to avoid
  FreeBSD 'find' weirdness


Modified: trunk/code/unix/Makefile
===================================================================
--- trunk/code/unix/Makefile	2006-01-06 19:11:05 UTC (rev 466)
+++ trunk/code/unix/Makefile	2006-01-06 21:56:50 UTC (rev 467)
@@ -1669,12 +1669,10 @@
 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
 




More information about the quake3-commits mailing list