summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen2001-04-30 17:52:36 +0000
committerEric Andersen2001-04-30 17:52:36 +0000
commitdefa4f93c2b2edb5f19940cd63017d17da4866de (patch)
tree0c4d09e819605d295baf7dac2c194accfa5b5ea5 /Makefile
parent218aa370b487b630953fdf2f1e9be26aa232de8a (diff)
downloadbusybox-defa4f93c2b2edb5f19940cd63017d17da4866de.zip
busybox-defa4f93c2b2edb5f19940cd63017d17da4866de.tar.gz
Per suggestion by Matt, make sh.c a real target. There is no
need for the useless sh_link dummy target -- use the real thing. -Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 76e5022..5713cdc 100644
--- a/Makefile
+++ b/Makefile
@@ -270,11 +270,11 @@ CFLAGS += $(CFLAGS_EXTRA)
all: applet_source_list busybox busybox.links doc
-sh_link:
+sh.c:
@if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
-applet_source_list: sh_link busybox.sh Config.h
- (echo -n "APPLET_SOURCES := "; $(SHELL) $(filter-out sh_link, $^) $(BB_SRC_DIR)) > $@
+applet_source_list: sh.c busybox.sh Config.h
+ (echo -n "APPLET_SOURCES := "; $(SHELL) $(filter-out sh.c, $^) $(BB_SRC_DIR)) > $@
doc: olddoc
@@ -430,6 +430,6 @@ dist release: distclean doc
\
tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)/;
-.PHONY: tags sh_link
+.PHONY: tags
tags:
ctags -R .