diff options
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | config.mk | 4 |
2 files changed, 4 insertions, 9 deletions
@@ -8,9 +8,6 @@ INC = config.h gramscii.h arg.h OBJ = ${SRC:.c=.o} DISTFILES = ${SRC} ${INC} Makefile config.mk README.md Changelog -DEBUG = -O0 -Wall -pedantic -g -DDEBUG - - all: options gramscii options: @@ -21,13 +18,12 @@ options: @echo "CC = ${CC}" @echo "-+-+-+-+-+-+-+-+-+-+-" - gramscii: ${OBJ} ${OBJ}: ${INC} -debug: CFLAGS = ${DEBUG} -debug: clean all +debug: clean + ${MAKE} CFLAGS="${DEBUG}" all clean: @echo cleaning @@ -57,4 +53,3 @@ dist: clean @tar -cf gramscii-${VERSION}.tar ./gramscii-${VERSION} @gzip gramscii-${VERSION}.tar @rm -rf gramscii-${VERSION} - @@ -3,5 +3,5 @@ PREFIX = /usr/local BINDIR = ${PREFIX}/bin MANDIR = ${PREFIX}/share/man -CFLAGS = -O3 -std=c99 -pedantic -Wall -#CC = cc +CFLAGS = -O3 -std=c99 +DEBUG = -O0 -std=c99 -Wall -pedantic -g -DDEBUG |