summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-12 01:30:18 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-12 01:30:18 +0000
commit96bcfd346b436aef16b29d9157b80fd4148b1421 (patch)
tree339ad54804ab9399bbdb8a87e7bbc76408a11019 /Makefile
parent0dfac6b9cec891b8d523f85d7989d772a1447828 (diff)
Latest and greatest
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 53a7d8ea8..ddf356f19 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@
PROG=busybox
-VERSION=0.34
+VERSION=0.35
BUILDTIME=$(shell date "+%Y%m%d-%H%M")
# Comment out the following to make a debuggable build
@@ -58,14 +58,14 @@ OBJECTS=$(shell ./busybox.sh)
CFLAGS+= -DBB_VER='"$(VERSION)"'
CFLAGS+= -DBB_BT='"$(BUILDTIME)"'
-all: busybox links
+all: busybox busybox.links
busybox: $(OBJECTS)
$(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES)
$(STRIP)
-links:
- - ./busybox.mkll | sort >busybox.links
+busybox.links:
+ - ./busybox.mkll | sort >$@
clean:
- rm -f $(PROG) busybox.links *~ *.o core
@@ -80,3 +80,9 @@ $(OBJECTS): busybox.def.h internal.h Makefile
install: $(PROG)
install.sh $(BINDIR)
+whichversion:
+ @echo $(VERSION)
+
+release: distclean
+ (cd .. ; cp -a busybox busybox-$(VERSION); tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION))
+