diff options
author | FRIGN <dev@frign.de> | 2015-11-10 00:10:21 +0100 |
---|---|---|
committer | FRIGN <dev@frign.de> | 2015-11-10 00:10:21 +0100 |
commit | 526f2c5533807c64c80811a98778be739c19872c (patch) | |
tree | beb6aa2f2a5e6787a6e9c973d4e1382ab276dfbb /config.mk | |
parent | d5f6f70d351239ee37b3d864c9a94dc49d66c052 (diff) |
Overhaul buildsystem
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 17 |
1 files changed, 3 insertions, 14 deletions
@@ -3,21 +3,10 @@ # paths PREFIX = /usr/local -# libs -LIBS = -PNG_LIBS = -lpng -JPEG_LIBS = -ljpeg -GIF_LIBS = -lgif - # flags -CPPFLAGS = - -# debug -#CFLAGS = -std=c99 -pedantic -Wall -Wextra -O0 -g -ggdb ${CPPFLAGS} -#LDFLAGS = ${LIBS} -# optimized -CFLAGS = -std=c99 -pedantic -Wall -Wextra -D_DEFAULT_SOURCE -Os ${CPPFLAGS} -LDFLAGS = -s ${LIBS} +CPPFLAGS = -D_DEFAULT_SOURCE +CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os ${CPPFLAGS} +LDFLAGS = -s -lpng -ljpeg -lgif # compiler and linker CC = cc |