aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-10-19 23:27:54 +0000
committerEric Andersen <andersen@codepoet.org>1999-10-19 23:27:54 +0000
commitf8d650c4e5657857e5b76a5d62f329abf81a4704 (patch)
tree809e1306469f4580befca4676a9110c293142e90 /Makefile
parentf5a3838e2ffb1e75b878f9ac48a6951d4d209f5a (diff)
downloadbusybox-f8d650c4e5657857e5b76a5d62f329abf81a4704.tar.gz
More stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 4b05075f9..3ee292a82 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
+PROG=busybox
VERSION=0.29alpha1
BUILDTIME=$(shell date "+%Y%m%d-%H%M")
@@ -18,7 +19,7 @@ ifeq ($(DODEBUG),true)
else
CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
LDFLAGS= -s
- STRIP= strip --remove-section=.note --remove-section=.comment busybox
+ STRIP= strip --remove-section=.note --remove-section=.comment
endif
ifndef $(prefix)
@@ -34,22 +35,22 @@ CFLAGS+= -DBB_BT='"$(BUILDTIME)"'
all: busybox links
busybox: $(OBJECTS)
- $(CC) $(LDFLAGS) -o busybox $(OBJECTS) $(LIBRARIES)
- $(STRIP)
+ $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES)
+ $(STRIP) $(PROG)
links:
- ./busybox.mkll | sort >busybox.links
clean:
- - rm -f busybox busybox.links *~ *.o core
+ - rm -f $(PROG) busybox.links *~ *.o core
distclean: clean
- - rm -f busybox
+ - rm -f $(PROG)
force:
$(OBJECTS): busybox.def.h internal.h Makefile
-install: busybox
+install: $(PROG)
install.sh $(BINDIR)