]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix make clean
authorRudolf Polzer <divverent@xonotic.org>
Mon, 8 Jul 2013 08:00:14 +0000 (10:00 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Mon, 8 Jul 2013 08:00:14 +0000 (10:00 +0200)
qcsrc/Makefile
qcsrc/server/miscfunctions.qc
qcsrc/server/progs.src

index 3708ab48332a01d55a07edcefda76f971f99c597..f5c4066be43081cada1344bf84ce7f062dd86b14 100644 (file)
@@ -49,7 +49,7 @@ qc-recursive: ../menu.dat ../progs.dat ../csprogs.dat
 
 .PHONY: clean
 clean:
-       rm -f ../progs.dat ../menu.dat ../csprogs.dat
+       rm -f ../progs.dat ../menu.dat ../csprogs.dat server/precache-for-csqc.inc
 
 $(QCCVERSIONFILE):
        $(RM) qccversion.*
@@ -60,11 +60,11 @@ FILES_CSPROGS = $(shell find client common warpzonelib csqcmodellib -type f -not
        @echo make[1]: Entering directory \`$(PWD)/client\'
        cd client && $(QCC) $(QCCFLAGS)
 
-server/precache-for-csqc.qc: $(FILES_CSPROGS)
+server/precache-for-csqc.inc: $(FILES_CSPROGS)
        sh collect-precache.sh
 
 FILES_PROGS = $(shell find server common warpzonelib csqcmodellib -type f -not -name fteqcc.log -not -name qc.asm) $(wildcard server/w_*.qc)
-../progs.dat: $(FILES_PROGS) $(QCCVERSIONFILE) server/precache-for-csqc.qc
+../progs.dat: $(FILES_PROGS) $(QCCVERSIONFILE) server/precache-for-csqc.inc
        @echo make[1]: Entering directory \`$(PWD)/server\'
        cd server && $(QCC) $(QCCFLAGS)
 
index 190870d7b7239bcc91ebb066d50e84ec674ffd7c..df09032139b62e7158c6ef20d95a841b037c7c9a 100644 (file)
@@ -1417,7 +1417,7 @@ void precache()
     }
 #endif
 
-    PrecacheForCSQC();
+#include "precache-for-csqc.inc"
 }
 
 // WARNING: this kills the trace globals
index aa09444995c6cebdd06215684b65ba07f1ff3d33..367e8609ded2741ab10a74503dbf7888a82bd1a6 100644 (file)
@@ -100,7 +100,6 @@ secret.qh
 
 scores_rules.qc
 
-precache-for-csqc.qc
 miscfunctions.qc
 
 waypointsprites.qc