From: divverent Date: Sun, 4 Dec 2011 17:21:42 +0000 (+0000) Subject: move the hack to makefile, as it's using a GNU make feature X-Git-Tag: xonotic-v0.6.0~102^2~21 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6ca88bf403b17eeffea74586ba03d36a6fd23d8e;p=xonotic%2Fdarkplaces.git move the hack to makefile, as it's using a GNU make feature git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11598 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile b/makefile index 7a8a4cfb..35de3283 100644 --- 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 diff --git a/makefile.inc b/makefile.inc index 4bc6f514..96a5ab36 100644 --- a/makefile.inc +++ b/makefile.inc @@ -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