diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -8,6 +8,9 @@ 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: @@ -23,8 +26,8 @@ gramscii: ${OBJ} ${OBJ}: ${INC} -debug: clean - ${MAKE} ${MAKEFILE} CFLAGS="-O0 -Wall -pedantic -g -DDEBUG=1" +debug: CFLAGS = ${DEBUG} +debug: clean all clean: @echo cleaning |