aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-10-08 17:14:14 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-10-08 17:14:14 +0000
commit91a8af1309378544b6dfe6283fbbf654ed30ab4c (patch)
tree61b2bca05cc536fc83979be4ef23604754eb1a19 /Makefile
parent34a0ea765870866608d9d62cde4dd950a2340c0a (diff)
downloadbusybox-w32-91a8af1309378544b6dfe6283fbbf654ed30ab4c.tar.gz
busybox-w32-91a8af1309378544b6dfe6283fbbf654ed30ab4c.tar.bz2
busybox-w32-91a8af1309378544b6dfe6283fbbf654ed30ab4c.zip
Finally mount works properly. Made debugging work (no more -s ld flag
when debugging is on). git-svn-id: svn://busybox.net/trunk/busybox@16 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cf182097e..86fc9f6a6 100644
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,10 @@ ARCH=`uname -m | sed -e 's/i.86/i386/' | sed -e 's/sparc.*/sparc/'`
11ifeq ($(DODEBUG),true) 11ifeq ($(DODEBUG),true)
12 CFLAGS=-Wall -g -D_GNU_SOURCE 12 CFLAGS=-Wall -g -D_GNU_SOURCE
13 STRIP= 13 STRIP=
14 LDFLAGS=
14else 15else
15 CFLAGS=-Wall -O2 -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE 16 CFLAGS=-Wall -O2 -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
17 LDFLAGS= -s
16 STRIP= strip --remove-section=.note --remove-section=.comment busybox 18 STRIP= strip --remove-section=.note --remove-section=.comment busybox
17endif 19endif
18 20
@@ -21,17 +23,15 @@ ifndef $(prefix)
21endif 23endif
22BINDIR=$(prefix) 24BINDIR=$(prefix)
23 25
24LDFLAGS= -s
25LIBRARIES=-lc 26LIBRARIES=-lc
26OBJECTS=$(shell ./busybox.sh) 27OBJECTS=$(shell ./busybox.sh)
27CFLAGS+= -DBB_VER='"$(VERSION)"' 28CFLAGS+= -DBB_VER='"$(VERSION)"'
28CFLAGS+= -DBB_BT='"$(BUILDTIME)"' 29CFLAGS+= -DBB_BT='"$(BUILDTIME)"'
29 30
30all: busybox links 31all: busybox links
31#all: busybox
32 32
33busybox: $(OBJECTS) 33busybox: $(OBJECTS)
34 $(CC) $(CFLAGS) $(LDFLAGS) -o busybox $(OBJECTS) $(LIBRARIES) 34 $(CC) $(LDFLAGS) -o busybox $(OBJECTS) $(LIBRARIES)
35 $(STRIP) 35 $(STRIP)
36 36
37links: 37links: