From ade94c638a79e22f0adcbfaddf97a5f087a9730a Mon Sep 17 00:00:00 2001 From: andersen Date: Mon, 30 Apr 2001 17:52:36 +0000 Subject: 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 git-svn-id: svn://busybox.net/trunk/busybox@2492 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 76e50227e..5713cdc68 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 . -- cgit v1.2.3-55-g6feb