$< > $@
docs/BusyBox.html: docs/busybox.lineo.com/BusyBox.html
+ - mkdir -p docs
-@ rm -f docs/BusyBox.html
-@ ln -s busybox.lineo.com/BusyBox.html docs/BusyBox.html
$(OBJECTS): %.o: %.c Config.h busybox.h applets.h Makefile
$(CC) $(CFLAGS) -I- -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o
-$(PWD_OBJS): %.o: %.c pwd_lib_objdir Config.h busybox.h applets.h Makefile
+$(PWD_OBJS): %.o: %.c Config.h busybox.h applets.h Makefile
+ - mkdir -p $(PWD_GRP)
$(CC) $(CFLAGS) $(PWD_CFLAGS) -c $< -o $*.o
$(PWD_LIB): $(PWD_OBJS)
$(AR) $(ARFLAGS) $(PWD_LIB) $^
-pwd_lib_objdir:
- mkdir -p $(PWD_GRP)
-
usage.o: usage.h
utility.o: loop.h
- rm -f multibuild.log Config.h.orig
- rm -rf docs/busybox _install $(PWD_LIB)
- rm -f busybox.links loop.h *~ slist.mk core applet_source_list
- - find -name *.o | xargs rm -f;
+ - find -name \*.o -exec rm -f {} \;
distclean: clean
- rm -f busybox
find busybox-$(VERSION)/ -type d \
-name CVS \
-print \
- | xargs rm -rf; \
+ -exec rm -rf {} \; \
\
find busybox-$(VERSION)/ -type f \
-name .cvsignore \
-print \
- | xargs rm -f; \
+ -exec rm -f {} \; \
\
find busybox-$(VERSION)/ -type f \
-name .\#* \
-print \
- | xargs rm -f; \
+ -exec rm -f {} \; \
\
tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)/;