Matt was complaining. Hopefully this helps the sh.c link situation
authorEric Andersen <andersen@codepoet.org>
Fri, 27 Apr 2001 18:36:43 +0000 (18:36 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 27 Apr 2001 18:36:43 +0000 (18:36 -0000)
Makefile

index 3408770edb1ff1b8881202ccf16e8aa78475187b..66a951fe4055d2b3ae3d90d3987811bf6c73d030 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -268,13 +268,13 @@ CFLAGS += $(CFLAGS_EXTRA)
 
 .EXPORT_ALL_VARIABLES:
 
-all: sh_link applet_source_list busybox busybox.links doc
+all: applet_source_list busybox busybox.links doc
 
 sh_link:
        @if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
 
-applet_source_list: busybox.sh Config.h
-       (echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@
+applet_source_list: sh_link busybox.sh Config.h
+       @(echo -n "APPLET_SOURCES := "; $(SHELL) busybox.sh Config.h $(BB_SRC_DIR)) > $@
 
 doc: olddoc
 
@@ -430,6 +430,6 @@ dist release: distclean doc
                                                \
        tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)/;
 
-.PHONY: tags
+.PHONY: tags sh_link
 tags:
        ctags -R .