From c15b52daf783c06f9b1cffabeb14fc0e4bfe5e6d Mon Sep 17 00:00:00 2001 From: Denis Grelich Date: Sat, 3 Feb 2007 00:18:08 +0100 Subject: [PATCH] set compile flags to debug and turned off stripping of the executable --- Makefile | 2 +- config.mk | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 4935f058..99eec7f2 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ ${OBJ}: wmii.h config.mk wmiiwm: ${OBJ} @echo LD $@ @${LD} -o $@ ${OBJ} ${LDFLAGS} - @strip $@ +# @strip $@ clean: @echo cleaning diff --git a/config.mk b/config.mk index e79a97aa..cbf7d06f 100644 --- a/config.mk +++ b/config.mk @@ -17,10 +17,10 @@ INCS = -I. -I${PREFIX}/include -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -L${PREFIX}/lib -lixp -lm # flags -CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -LDFLAGS = ${LIBS} -#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -#LDFLAGS = -g ${LIBS} +#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} +CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = -g ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"