X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=config.mk;h=fe059aa8bd7785fc7f10c0d13db0ca7e6b145d66;hb=888ab2272511712707dc4f43f80f1264b784d555;hp=15d1c3ba11387b6788194408829f8cde73e3e82c;hpb=148029905b9d0a06333cb43834eb819385561ab5;p=sic.git diff --git a/config.mk b/config.mk index 15d1c3b..fe059aa 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # sic version -VERSION = 0.7 +VERSION = 1.0 # 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}