X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=makefile;h=35de328396cb28f3f0d9338264f4e9082d901409;hb=52e4991331e72a3fb72e04e04608b99dc4bb1837;hp=84db7512929f70e67687b17d5bb9840f6fe0247b;hpb=d91a9af0b94761f863408e7120d7c48ac2e72406;p=xonotic%2Fdarkplaces.git diff --git a/makefile b/makefile index 84db7512..35de3283 100644 --- 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