]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile
fix issues with V_CalcRefdef in CSQC and stereo view
[xonotic/darkplaces.git] / makefile
index 84db7512929f70e67687b17d5bb9840f6fe0247b..35de328396cb28f3f0d9338264f4e9082d901409 100644 (file)
--- a/makefile
+++ b/makefile
@@ -213,7 +213,7 @@ ifeq ($(D3D), 1)
        LDFLAGS_D3D=-ld3d9
 else
        CFLAGS_D3D=
-       CFLAGS_WARNINGS=-Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
+       CFLAGS_WARNINGS=-Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes
        LDFLAGS_D3D=
 endif
 
@@ -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