X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=config.mk;h=56080461bcce6fd5dc7d5d8795df248901045986;hb=75f0af7c42c1ccdf5bb87975c4ed6f52cd937f94;hp=6b4511212852c53d433abaea964f40684b5ec0c0;hpb=759063908d19e592f0d3bb3759964cec35114c8c;p=sic.git diff --git a/config.mk b/config.mk index 6b45112..5608046 100644 --- a/config.mk +++ b/config.mk @@ -1,15 +1,22 @@ -# Customize to fit your system +# sic version +VERSION = 0.9 + +# 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 +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" +LDFLAGS = ${LIBS} +#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = -g ${LIBS} -# compiler -CFLAGS = -g -Wall -O2 -I${PREFIX}/include -I/usr/include \ - -DVERSION=\"${VERSION}\" -LDFLAGS = -g ${LIBS} +# compiler and linker +CC = cc +LD = ${CC}