2011-05-23 01:36:34 +00:00
|
|
|
# sbase version
|
|
|
|
VERSION = 0.0
|
|
|
|
|
2011-06-08 10:37:00 +00:00
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
2011-06-08 16:54:55 +00:00
|
|
|
MANPREFIX = $(PREFIX)/share/man
|
2011-06-08 10:37:00 +00:00
|
|
|
|
2014-11-17 13:50:19 +00:00
|
|
|
CC = cc
|
|
|
|
AR = ar
|
2014-11-17 12:22:53 +00:00
|
|
|
RANLIB = ranlib
|
|
|
|
|
2015-06-04 23:16:13 +00:00
|
|
|
# for NetBSD add -D_NETBSD_SOURCE
|
|
|
|
# for glibc on 32bit add -D_FILE_OFFSET_BITS=64 or use something sane
|
|
|
|
# -lrt might be needed on some systems
|
2015-04-04 22:34:58 +00:00
|
|
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
|
2014-11-17 10:31:29 +00:00
|
|
|
CFLAGS = -std=c99 -Wall -pedantic
|
2015-04-20 16:39:50 +00:00
|
|
|
LDFLAGS = -s
|