mirror of https://github.com/0intro/wmii
set compile flags to debug and turned off stripping of the executable
This commit is contained in:
parent
f785e5a248
commit
c15b52daf7
2
Makefile
2
Makefile
|
@ -25,7 +25,7 @@ ${OBJ}: wmii.h config.mk
|
|||
wmiiwm: ${OBJ}
|
||||
@echo LD $@
|
||||
@${LD} -o $@ ${OBJ} ${LDFLAGS}
|
||||
@strip $@
|
||||
# @strip $@
|
||||
|
||||
clean:
|
||||
@echo cleaning
|
||||
|
|
|
@ -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}\"
|
||||
|
|
Loading…
Reference in New Issue