From 6ca88bf403b17eeffea74586ba03d36a6fd23d8e Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 4 Dec 2011 17:21:42 +0000 Subject: [PATCH] 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 --- makefile | 7 +++++++ makefile.inc | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) 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 -- 2.39.2