diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-10-19 23:27:54 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-10-19 23:27:54 +0000 |
commit | f8d650c4e5657857e5b76a5d62f329abf81a4704 (patch) | |
tree | 809e1306469f4580befca4676a9110c293142e90 | |
parent | f5a3838e2ffb1e75b878f9ac48a6951d4d209f5a (diff) | |
download | busybox-w32-f8d650c4e5657857e5b76a5d62f329abf81a4704.tar.gz busybox-w32-f8d650c4e5657857e5b76a5d62f329abf81a4704.tar.bz2 busybox-w32-f8d650c4e5657857e5b76a5d62f329abf81a4704.zip |
More stuff
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,4 +1,5 @@ | |||
1 | 1 | ||
2 | PROG=busybox | ||
2 | VERSION=0.29alpha1 | 3 | VERSION=0.29alpha1 |
3 | BUILDTIME=$(shell date "+%Y%m%d-%H%M") | 4 | BUILDTIME=$(shell date "+%Y%m%d-%H%M") |
4 | 5 | ||
@@ -18,7 +19,7 @@ ifeq ($(DODEBUG),true) | |||
18 | else | 19 | else |
19 | CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE | 20 | CFLAGS=-Wall -Os -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE |
20 | LDFLAGS= -s | 21 | LDFLAGS= -s |
21 | STRIP= strip --remove-section=.note --remove-section=.comment busybox | 22 | STRIP= strip --remove-section=.note --remove-section=.comment |
22 | endif | 23 | endif |
23 | 24 | ||
24 | ifndef $(prefix) | 25 | ifndef $(prefix) |
@@ -34,22 +35,22 @@ CFLAGS+= -DBB_BT='"$(BUILDTIME)"' | |||
34 | all: busybox links | 35 | all: busybox links |
35 | 36 | ||
36 | busybox: $(OBJECTS) | 37 | busybox: $(OBJECTS) |
37 | $(CC) $(LDFLAGS) -o busybox $(OBJECTS) $(LIBRARIES) | 38 | $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES) |
38 | $(STRIP) | 39 | $(STRIP) $(PROG) |
39 | 40 | ||
40 | links: | 41 | links: |
41 | - ./busybox.mkll | sort >busybox.links | 42 | - ./busybox.mkll | sort >busybox.links |
42 | 43 | ||
43 | clean: | 44 | clean: |
44 | - rm -f busybox busybox.links *~ *.o core | 45 | - rm -f $(PROG) busybox.links *~ *.o core |
45 | 46 | ||
46 | distclean: clean | 47 | distclean: clean |
47 | - rm -f busybox | 48 | - rm -f $(PROG) |
48 | 49 | ||
49 | force: | 50 | force: |
50 | 51 | ||
51 | $(OBJECTS): busybox.def.h internal.h Makefile | 52 | $(OBJECTS): busybox.def.h internal.h Makefile |
52 | 53 | ||
53 | install: busybox | 54 | install: $(PROG) |
54 | install.sh $(BINDIR) | 55 | install.sh $(BINDIR) |
55 | 56 | ||