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:
parent
ac4987a55e
commit
2d96f28246
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue