aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-10-19 23:27:54 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-10-19 23:27:54 +0000
commit1eb77ba62a160e3b5406fa099df58b048b324dc9 (patch)
tree809e1306469f4580befca4676a9110c293142e90 /Makefile
parent223d4a6ac5e8be784df95889fba23b7b40bacd02 (diff)
downloadbusybox-w32-1eb77ba62a160e3b5406fa099df58b048b324dc9.tar.gz
busybox-w32-1eb77ba62a160e3b5406fa099df58b048b324dc9.tar.bz2
busybox-w32-1eb77ba62a160e3b5406fa099df58b048b324dc9.zip
More stuff
git-svn-id: svn://busybox.net/trunk/busybox@42 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 @@
1 1
2PROG=busybox
2VERSION=0.29alpha1 3VERSION=0.29alpha1
3BUILDTIME=$(shell date "+%Y%m%d-%H%M") 4BUILDTIME=$(shell date "+%Y%m%d-%H%M")
4 5
@@ -18,7 +19,7 @@ ifeq ($(DODEBUG),true)
18else 19else
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
22endif 23endif
23 24
24ifndef $(prefix) 25ifndef $(prefix)
@@ -34,22 +35,22 @@ CFLAGS+= -DBB_BT='"$(BUILDTIME)"'
34all: busybox links 35all: busybox links
35 36
36busybox: $(OBJECTS) 37busybox: $(OBJECTS)
37 $(CC) $(LDFLAGS) -o busybox $(OBJECTS) $(LIBRARIES) 38 $(CC) $(LDFLAGS) -o $(PROG) $(OBJECTS) $(LIBRARIES)
38 $(STRIP) 39 $(STRIP) $(PROG)
39 40
40links: 41links:
41 - ./busybox.mkll | sort >busybox.links 42 - ./busybox.mkll | sort >busybox.links
42 43
43clean: 44clean:
44 - rm -f busybox busybox.links *~ *.o core 45 - rm -f $(PROG) busybox.links *~ *.o core
45 46
46distclean: clean 47distclean: clean
47 - rm -f busybox 48 - rm -f $(PROG)
48 49
49force: 50force:
50 51
51$(OBJECTS): busybox.def.h internal.h Makefile 52$(OBJECTS): busybox.def.h internal.h Makefile
52 53
53install: busybox 54install: $(PROG)
54 install.sh $(BINDIR) 55 install.sh $(BINDIR)
55 56