]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
move the hack to makefile, as it's using a GNU make feature
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Dec 2011 17:21:42 +0000 (17:21 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 4 Dec 2011 17:21:32 +0000 (18:21 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11598 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=6ca88bf403b17eeffea74586ba03d36a6fd23d8e

makefile
makefile.inc

index 7a8a4cfb9ca05a986c69e8c5ac4eb15dab907519..35de328396cb28f3f0d9338264f4e9082d901409 100644 (file)
--- a/makefile
+++ b/makefile
@@ -326,3 +326,10 @@ include makefile.inc
 ##### Dependency files #####
 
 -include *.d
+
+# hack to deal with no-longer-needed .h files
+%.h:
+       @echo
+       @echo "NOTE: file $@ mentioned in dependencies missing, continuing..."
+       @echo "HINT: consider 'make clean'"
+       @echo
index 4bc6f51448d7b0608c08caeeb77f99392287b3e4..96a5ab3657ecaf93786190c3fb2d36ba915ed2cf 100644 (file)
@@ -586,10 +586,3 @@ clean:
 clean-profile: clean
        -$(CMD_RM) *.gcda
        -$(CMD_RM) *.gcno
-
-# hack to deal with no-longer-needed .h files
-%.h:
-       @echo
-       @echo "NOTE: file $@ mentioned in dependencies missing, continuing..."
-       @echo "HINT: consider 'make clean'"
-       @echo