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
|
rm -f .depend.bak
|
||||||
|
|
||||||
depend-rebuild:
|
depend-rebuild:
|
||||||
|
rm -f config.h
|
||||||
|
touch config.h
|
||||||
makedepend -w1000 -Y. -f .depend *.c 2>/dev/null
|
makedepend -w1000 -Y. -f .depend *.c 2>/dev/null
|
||||||
|
rm -f config.h
|
||||||
|
|
||||||
depend-check: depend-rebuild
|
depend-check: depend-rebuild
|
||||||
cmp .depend .depend.bak || (echo .depend stale && exit 1)
|
cmp .depend .depend.bak || (echo .depend stale && exit 1)
|
||||||
|
|
Loading…
Reference in New Issue