summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e0f8880..8fdfd85 100644
--- a/Makefile
+++ b/Makefile
@@ -241,6 +241,7 @@ docs/BusyBox.1: docs/busybox.pod
$< > $@
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
@@ -292,15 +293,13 @@ nfsmount.o cmdedit.o: %.o: %.h
$(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