2006-09-05 09:31:46 +04:00
|
|
|
# sic version
|
2013-08-03 00:45:08 +04:00
|
|
|
VERSION = 1.3
|
2006-09-05 09:31:46 +04:00
|
|
|
|
2006-09-26 16:24:26 +04:00
|
|
|
# Customize below to fit your system
|
2006-07-17 20:17:31 +04:00
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
# includes and libs
|
2006-09-26 16:24:26 +04:00
|
|
|
INCS = -I. -I/usr/include
|
|
|
|
LIBS = -L/usr/lib -lc
|
2006-07-17 20:17:31 +04:00
|
|
|
|
2006-09-26 16:24:26 +04:00
|
|
|
# flags
|
2008-07-06 16:29:19 +04:00
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
|
|
|
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
|
|
LDFLAGS = -s ${LIBS}
|
2006-09-26 16:24:26 +04:00
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
CC = cc
|