Commit 703763eb authored by Hiltjo Posthuma's avatar Hiltjo Posthuma Committed by sin

config.mk: add CPPFLAGS and commented debug flags

parent 55f39515
......@@ -10,7 +10,13 @@ JPEG_LIBS = -ljpeg
GIF_LIBS = -lgif
# flags
CFLAGS = -std=c90 -ansi -pedantic -Wall -Wextra -Os
CPPFLAGS =
# debug
#CFLAGS = -std=c90 -ansi -pedantic -Wall -Wextra -O0 -g -ggdb ${CPPFLAGS}
#LDFLAGS = ${LIBS}
# optimized
CFLAGS = -std=c90 -ansi -pedantic -Wall -Wextra -Os ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
# compiler and linker
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment