From f5fe5b8632284670c4b16eccb34be770ab43402d Mon Sep 17 00:00:00 2001
From: aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Date: Wed, 5 Oct 2005 14:52:21 +0000
Subject: - remove explicit dependency of busybox.o and applets.o and usage.h
 from the   Makefile. Instead fix the invocation of bb_mkdep.

git-svn-id: svn://busybox.net/trunk/busybox@11774 69ca8d6d-28ef-0310-b511-8ec308f3f277
---
 Makefile            | 2 +-
 applets/Makefile.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index bd8e47c6d..4f052ff1f 100644
--- a/Makefile
+++ b/Makefile
@@ -275,7 +275,7 @@ depend dep $(top_builddir)/.depend: .depend
 .depend: scripts/bb_mkdep $(DEP_INCLUDES)
 	@rm -f .depend
 	@mkdir -p include/config
-	scripts/bb_mkdep -c include/config.h -c include/bb_config.h $(top_srcdir)/ > $@.tmp
+	scripts/bb_mkdep -c include/config.h -c include/bb_config.h -I $(top_srcdir)/include $(top_srcdir)/ > $@.tmp
 	mv $@.tmp $@
 
 include/config.h: .config
diff --git a/applets/Makefile.in b/applets/Makefile.in
index ddbc668dc..511652a93 100644
--- a/applets/Makefile.in
+++ b/applets/Makefile.in
@@ -18,7 +18,7 @@ libraries-y+=$(APPLETS_DIR)$(APPLETS_AR)
 $(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
 	$(AR) $(ARFLAGS) $@ $(APPLET_OBJ)
 
-$(APPLET_OBJ): $(top_builddir)/.config $(top_srcdir)/include/usage.h
+$(APPLET_OBJ): $(top_builddir)/.config 
 $(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
 	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
 
-- 
cgit v1.2.3-55-g6feb