move config.h requirement to the actual .depend target rather than the depend alias
authorMike Frysinger <vapier@gentoo.org>
Sat, 11 Jun 2005 00:13:58 +0000 (00:13 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 11 Jun 2005 00:13:58 +0000 (00:13 -0000)
Makefile

index f16c16948f6c32e417d6bcdb26d65bd999eb41bc..d205bb1b6b35a5a3d0bc2f577fdceac422c663e5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -192,7 +192,7 @@ scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
 scripts/split-include: $(top_srcdir)/scripts/split-include.c
        $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
 
-.depend: scripts/mkdep
+.depend: scripts/mkdep include/config.h
        rm -f .depend .hdepend;
        mkdir -p include/config;
        scripts/mkdep -I include -- \
@@ -200,7 +200,7 @@ scripts/split-include: $(top_srcdir)/scripts/split-include.c
        scripts/mkdep -I include -- \
          `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
        scripts/split-include include/config.h include/config