summaryrefslogtreecommitdiff
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)
downloadbusybox-w32-96bcfd346b436aef16b29d9157b80fd4148b1421.tar.gz
busybox-w32-96bcfd346b436aef16b29d9157b80fd4148b1421.tar.bz2
busybox-w32-96bcfd346b436aef16b29d9157b80fd4148b1421.zip
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 @@
17 17
18 18
19PROG=busybox 19PROG=busybox
20VERSION=0.34 20VERSION=0.35
21BUILDTIME=$(shell date "+%Y%m%d-%H%M") 21BUILDTIME=$(shell date "+%Y%m%d-%H%M")
22 22
23# Comment out the following to make a debuggable build 23# Comment out the following to make a debuggable build
@@ -58,14 +58,14 @@ OBJECTS=$(shell ./busybox.sh)
58CFLAGS+= -DBB_VER='"$(VERSION)"' 58CFLAGS+= -DBB_VER='"$(VERSION)"'
59CFLAGS+= -DBB_BT='"$(BUILDTIME)"' 59CFLAGS+= -DBB_BT='"$(BUILDTIME)"'
60 60
61all: busybox links 61all: busybox busybox.links
62 62
63busybox: $(OBJECTS) 63busybox: $(OBJECTS)
64 $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES) 64 $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES)
65 $(STRIP) 65 $(STRIP)
66 66
67links: 67busybox.links:
68 - ./busybox.mkll | sort >busybox.links 68 - ./busybox.mkll | sort >$@
69 69
70clean: 70clean:
71 - rm -f $(PROG) busybox.links *~ *.o core 71 - rm -f $(PROG) busybox.links *~ *.o core
@@ -80,3 +80,9 @@ $(OBJECTS): busybox.def.h internal.h Makefile
80install: $(PROG) 80install: $(PROG)
81 install.sh $(BINDIR) 81 install.sh $(BINDIR)
82 82
83whichversion:
84 @echo $(VERSION)
85
86release: distclean
87 (cd .. ; cp -a busybox busybox-$(VERSION); tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION))
88