r460 - trunk/code/unix

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 4 22:34:01 EST 2006


Author: tma
Date: 2006-01-04 22:34:01 -0500 (Wed, 04 Jan 2006)
New Revision: 460

Modified:
   trunk/code/unix/Makefile
Log:
* Dependency generation for the .asm files


Modified: trunk/code/unix/Makefile
===================================================================
--- trunk/code/unix/Makefile	2006-01-05 02:06:25 UTC (rev 459)
+++ trunk/code/unix/Makefile	2006-01-05 03:34:01 UTC (rev 460)
@@ -583,7 +583,8 @@
       $(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 @@
 
 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




More information about the quake3-commits mailing list