Patch for the debian-cvs package, ip* applets in /bin, patch from Bastian Blank
[oweals/busybox.git] / Makefile
index 58e397cfd619c1967e8d07f48728058a3014781d..55605af884ea6669b1681566f093b7cfd3d18c64 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ all: busybox busybox.links #doc
 -include .config.cmd
 include $(patsubst %,%/Makefile.in, $(DIRS))
 
-busybox: depend $(libraries-y)
+busybox: .depend $(libraries-y)
        $(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES)
        $(STRIPCMD) $@
 
@@ -203,7 +203,6 @@ check: busybox
 
 clean:
        - $(MAKE) -C tests clean
-       - $(MAKE) -C scripts/config clean
        - rm -f docs/BusyBox.txt docs/BusyBox.1 docs/BusyBox.html \
            docs/busybox.net/BusyBox.html
        - rm -f docs/busybox.txt docs/busybox.dvi docs/busybox.ps \
@@ -216,6 +215,7 @@ clean:
        - find . -name .depend -exec rm -f {} \;
        - find . -name \*.o -exec rm -f {} \;
        - find . -name \*.a -exec rm -f {} \;
+       - $(MAKE) -C scripts/config clean
 
 distclean: clean
        rm -f .config .config.old .config.cmd