move config.h requirement to the actual .depend target rather than the depend alias
This commit is contained in:
parent
e037622641
commit
e9903cfa0f
4
Makefile
4
Makefile
@ -192,7 +192,7 @@ scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
|
|||||||
scripts/split-include: $(top_srcdir)/scripts/split-include.c
|
scripts/split-include: $(top_srcdir)/scripts/split-include.c
|
||||||
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
|
$(HOSTCC) $(HOSTCFLAGS) -o $@ $<
|
||||||
|
|
||||||
.depend: scripts/mkdep
|
.depend: scripts/mkdep include/config.h
|
||||||
rm -f .depend .hdepend;
|
rm -f .depend .hdepend;
|
||||||
mkdir -p include/config;
|
mkdir -p include/config;
|
||||||
scripts/mkdep -I include -- \
|
scripts/mkdep -I include -- \
|
||||||
@ -200,7 +200,7 @@ scripts/split-include: $(top_srcdir)/scripts/split-include.c
|
|||||||
scripts/mkdep -I include -- \
|
scripts/mkdep -I include -- \
|
||||||
`find $(top_srcdir) -name \*.h -print | sed -e "s,^./,,"` >> .hdepend;
|
`find $(top_srcdir) -name \*.h -print | sed -e "s,^./,,"` >> .hdepend;
|
||||||
|
|
||||||
depend dep: include/config.h .depend
|
depend dep: .depend
|
||||||
|
|
||||||
include/config/MARKER: depend scripts/split-include
|
include/config/MARKER: depend scripts/split-include
|
||||||
scripts/split-include include/config.h include/config
|
scripts/split-include include/config.h include/config
|
||||||
|
Loading…
Reference in New Issue
Block a user