]> git.armaanb.net Git - sic.git/blobdiff - config.mk
updated sic
[sic.git] / config.mk
index 96bd531155f18d992d26c9a11245c14654385bdc..fe059aa8bd7785fc7f10c0d13db0ca7e6b145d66 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -12,10 +12,9 @@ INCS = -I. -I/usr/include
 LIBS = -L/usr/lib -lc
 
 # flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
-#LDFLAGS = -g ${LIBS}
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
+CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS = -s ${LIBS}
 
 # compiler and linker
 CC = cc