]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 409cd2ec22f0486f12c00e1e9f77f1ad06c01a72..4bc6f51448d7b0608c08caeeb77f99392287b3e4 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