summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-11 00:13:58 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-11 00:13:58 +0000
commite9903cfa0f0902172563925355db6243cdd917e4 (patch)
tree9b59dc781e59e37c6bd33893c940144f6b82c1a3
parente037622641df501ed8218a8b0f9435fcec477d42 (diff)
move config.h requirement to the actual .depend target rather than the depend alias
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f16c16948..d205bb1b6 100644
--- 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