X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=config.mk;h=87395f439518b4f2ea14edff3b5c0c7ea9e87176;hb=b188c784329baf8479f30f06c61c12226d797115;hp=6b4511212852c53d433abaea964f40684b5ec0c0;hpb=759063908d19e592f0d3bb3759964cec35114c8c;p=sic.git diff --git a/config.mk b/config.mk index 6b45112..87395f4 100644 --- a/config.mk +++ b/config.mk @@ -1,15 +1,20 @@ -# Customize to fit your system +# sic version +VERSION = 1.3 + +# Customize below to fit your system # paths PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -VERSION = 0.0 - # includes and libs -LIBS = -L${PREFIX}/lib -L/usr/lib -lc +INCS = -I. -I/usr/include +LIBS = -L/usr/lib -lc + +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE +CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +LDFLAGS = -s ${LIBS} -# compiler -CFLAGS = -g -Wall -O2 -I${PREFIX}/include -I/usr/include \ - -DVERSION=\"${VERSION}\" -LDFLAGS = -g ${LIBS} +# compiler and linker +CC = cc