# Make our prerequisites.
-make busybox.links include/bb_config.h
+make busybox.links include/bb_config.h $(pwd)/{libbb/libbb.a,archival/libunarchive/libunarchive.a,coreutils/libcoreutils/libcoreutils.a,networking/libiproute/libiproute.a}
-# Adding "libbb/libbb.a" to the previous line doesn't work, nor does going
-# "make libbb.a" in the libb directory. The busybox makefile has layers and
-# layers of overcomplicated brokenness...
-
-cd libbb
-make
-cd ..
-
-# Same problem.
-
-cd archival/libunarchive
-make
-cd ../..
-
-# And again
-
-cd coreutils/libcoreutils
-make
-cd ../..
-
-# Sensing a pattern here?
+else
+# Could very well be that we want to build an individual applet but have no
+# 'build' dir yet..
-#cd networking/libiproute
-#make
-#cd ../..
+test -d ./build || mkdir build
fi