From 07e462fd6de233fffd02501f0b97ef5046d88eb6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 27 Apr 2001 18:36:43 +0000 Subject: Matt was complaining. Hopefully this helps the sh.c link situation --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3408770ed..66a951fe4 100644 --- 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 . -- cgit v1.2.3