diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-11-12 01:30:18 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-11-12 01:30:18 +0000 |
commit | 96bcfd346b436aef16b29d9157b80fd4148b1421 (patch) | |
tree | 339ad54804ab9399bbdb8a87e7bbc76408a11019 /Makefile | |
parent | 0dfac6b9cec891b8d523f85d7989d772a1447828 (diff) | |
download | busybox-w32-96bcfd346b436aef16b29d9157b80fd4148b1421.tar.gz busybox-w32-96bcfd346b436aef16b29d9157b80fd4148b1421.tar.bz2 busybox-w32-96bcfd346b436aef16b29d9157b80fd4148b1421.zip |
Latest and greatest
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | 18 | ||
19 | PROG=busybox | 19 | PROG=busybox |
20 | VERSION=0.34 | 20 | VERSION=0.35 |
21 | BUILDTIME=$(shell date "+%Y%m%d-%H%M") | 21 | BUILDTIME=$(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) | |||
58 | CFLAGS+= -DBB_VER='"$(VERSION)"' | 58 | CFLAGS+= -DBB_VER='"$(VERSION)"' |
59 | CFLAGS+= -DBB_BT='"$(BUILDTIME)"' | 59 | CFLAGS+= -DBB_BT='"$(BUILDTIME)"' |
60 | 60 | ||
61 | all: busybox links | 61 | all: busybox busybox.links |
62 | 62 | ||
63 | busybox: $(OBJECTS) | 63 | busybox: $(OBJECTS) |
64 | $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES) | 64 | $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES) |
65 | $(STRIP) | 65 | $(STRIP) |
66 | 66 | ||
67 | links: | 67 | busybox.links: |
68 | - ./busybox.mkll | sort >busybox.links | 68 | - ./busybox.mkll | sort >$@ |
69 | 69 | ||
70 | clean: | 70 | clean: |
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 | |||
80 | install: $(PROG) | 80 | install: $(PROG) |
81 | install.sh $(BINDIR) | 81 | install.sh $(BINDIR) |
82 | 82 | ||
83 | whichversion: | ||
84 | @echo $(VERSION) | ||
85 | |||
86 | release: distclean | ||
87 | (cd .. ; cp -a busybox busybox-$(VERSION); tar -cvzf busybox-$(VERSION).tar.gz busybox-$(VERSION)) | ||
88 | |||