removed strip, added -s to LDFLAGs
authorAnselm R. Garbe <arg@suckless.org>
Tue, 15 May 2007 11:44:41 +0000 (13:44 +0200)
committerAnselm R. Garbe <arg@suckless.org>
Tue, 15 May 2007 11:44:41 +0000 (13:44 +0200)
Makefile
config.mk

index 6b273cb..35e30f5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,6 @@ ${OBJ}: dmenu.h config.mk
 dmenu: ${OBJ}
        @echo CC -o $@
        @${CC} -o $@ ${OBJ} ${LDFLAGS}
-       @strip $@
 
 clean:
        @echo cleaning
index ce5daab..18565ea 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -16,7 +16,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
 
 # flags
 CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
+LDFLAGS = -s ${LIBS}
 #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
 #LDFLAGS = -g ${LIBS}