X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=config.mk;h=f8d1751b2aacbcafc09abbe6a81d10feff100b2a;hb=a4ba8e3b08cff1046e87c59ad688b8f7f6c42a41;hp=d955fc9925b39c04dbcb1b30ba2f8aec79d62be0;hpb=9197fee8a9045b9555ffe12387524b2fc4a16805;p=sic.git diff --git a/config.mk b/config.mk index d955fc9..f8d1751 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # sic version -VERSION = 0.6 +VERSION = 1.1 # Customize below to fit your system @@ -12,11 +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 -LD = ${CC}