Ensure config.h is always in dependencies.

Put an empty config.h into the dependency list to ensure that it's
always listed and consistent.
This commit is contained in:
Darren Tucker 2017-12-11 16:21:55 +11:00
parent ac4987a55e
commit 2d96f28246
1 changed files with 3 additions and 0 deletions

View File

@ -302,7 +302,10 @@ depend: depend-rebuild
rm -f .depend.bak
depend-rebuild:
rm -f config.h
touch config.h
makedepend -w1000 -Y. -f .depend *.c 2>/dev/null
rm -f config.h
depend-check: depend-rebuild
cmp .depend .depend.bak || (echo .depend stale && exit 1)