X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=config.mk;h=87395f439518b4f2ea14edff3b5c0c7ea9e87176;hb=b188c784329baf8479f30f06c61c12226d797115;hp=ff81803935f99f57c44486d156d955afd0550a26;hpb=b3412f0a14d081f013d582f78e4d86a70ae82c27;p=sic.git diff --git a/config.mk b/config.mk index ff81803..87395f4 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # sic version -VERSION = 0.3 +VERSION = 1.3 # 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}