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