makefile: if a .h file in dependency file is missing (cl_gecko.h), ignore the error...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Dec 2011 17:20:59 +0000 (17:20 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Dec 2011 17:20:59 +0000 (17:20 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11597 d7cf8633-e32d-0410-b094-e92efae38249

makefile.inc

index 409cd2e..4bc6f51 100644 (file)
@@ -587,3 +587,9 @@ 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