fix bbconfigopts.h depend
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 1 Aug 2005 20:49:32 +0000 (20:49 +0000)
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 1 Aug 2005 20:49:32 +0000 (20:49 +0000)
git-svn-id: svn://busybox.net/trunk/busybox@11012 69ca8d6d-28ef-0310-b511-8ec308f3f277

Makefile

index 338e3a4..5e63636 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -192,7 +192,8 @@ scripts/mkdep: $(top_srcdir)/scripts/mkdep.c
 scripts/split-include: $(top_srcdir)/scripts/split-include.c
        $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
 
-.depend: scripts/mkdep include/config.h
+depend dep: .depend
+.depend: scripts/mkdep include/config.h include/bbconfigopts.h
        rm -f .depend .hdepend;
        mkdir -p include/config;
        scripts/mkdep -I include -- \
@@ -200,8 +201,6 @@ 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: .depend include/bbconfigopts.h
-
 include/config/MARKER: depend scripts/split-include
        scripts/split-include include/config.h include/config
        @ touch include/config/MARKER