Ignore some generated files
[oweals/busybox.git] / Makefile
index dcf6bd6410d7a00c56a1d4bcb27aa74954452c1f..5a62cb0efd52f60c9623b595b43a26bdfb903f73 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -271,6 +271,7 @@ CFLAGS += $(CFLAGS_EXTRA)
 all: applet_source_list busybox busybox.links doc
 
 applet_source_list: busybox.sh Config.h
+       if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi
        (echo -n "APPLET_SOURCES := "; $(SHELL) $^ $(BB_SRC_DIR)) > $@
 
 doc: olddoc