2020-04-29 16:37:20 +02:00
|
|
|
VERSION="0.3"
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
# includes and libs
|
|
|
|
INCS = -I. -I/usr/include
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
#LIBS = -L/usr/lib -lc
|
|
|
|
|
|
|
|
# flags
|
2020-04-29 19:11:34 +02:00
|
|
|
# Linux
|
2020-05-05 10:50:40 +02:00
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809L -DNEED_STRLCPY
|
2020-04-29 19:11:34 +02:00
|
|
|
# BSD
|
|
|
|
#CPPFLAGS = -DVERSION=\"${VERSION}\"
|
|
|
|
|
2021-06-14 09:37:53 +02:00
|
|
|
CFLAGS += -std=c99 ${INCS} ${CPPFLAGS}
|
|
|
|
LDFLAGS += ${LIBS}
|
2020-04-29 16:37:20 +02:00
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
# CC = cc
|