farbfeld

suckless image format with conversion tools
git clone git://git.suckless.org/farbfeld
Log | Files | Refs | README | LICENSE

commit 703763eb2b3f456965a4fb99793f76a3ec1fbebd
parent 55f395151bedf64644b7761d8d44c47b6965609b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 31 Jul 2014 15:56:21 +0000

config.mk: add CPPFLAGS and commented debug flags

Diffstat:
Mconfig.mk | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/config.mk b/config.mk @@ -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