diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-30 17:52:36 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-30 17:52:36 +0000 |
commit | defa4f93c2b2edb5f19940cd63017d17da4866de (patch) | |
tree | 0c4d09e819605d295baf7dac2c194accfa5b5ea5 | |
parent | 218aa370b487b630953fdf2f1e9be26aa232de8a (diff) | |
download | busybox-w32-defa4f93c2b2edb5f19940cd63017d17da4866de.tar.gz busybox-w32-defa4f93c2b2edb5f19940cd63017d17da4866de.tar.bz2 busybox-w32-defa4f93c2b2edb5f19940cd63017d17da4866de.zip |
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
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -270,11 +270,11 @@ CFLAGS += $(CFLAGS_EXTRA) | |||
270 | 270 | ||
271 | all: applet_source_list busybox busybox.links doc | 271 | all: applet_source_list busybox busybox.links doc |
272 | 272 | ||
273 | sh_link: | 273 | sh.c: |
274 | @if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi | 274 | @if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi |
275 | 275 | ||
276 | applet_source_list: sh_link busybox.sh Config.h | 276 | applet_source_list: sh.c busybox.sh Config.h |
277 | (echo -n "APPLET_SOURCES := "; $(SHELL) $(filter-out sh_link, $^) $(BB_SRC_DIR)) > $@ | 277 | (echo -n "APPLET_SOURCES := "; $(SHELL) $(filter-out sh.c, $^) $(BB_SRC_DIR)) > $@ |
278 | 278 | ||
279 | doc: olddoc | 279 | doc: olddoc |
280 | 280 | ||
@@ -430,6 +430,6 @@ dist release: distclean doc | |||
430 | \ | 430 | \ |
431 | tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)/; | 431 | tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)/; |
432 | 432 | ||
433 | .PHONY: tags sh_link | 433 | .PHONY: tags |
434 | tags: | 434 | tags: |
435 | ctags -R . | 435 | ctags -R . |