2011-05-22 21:36:34 -04:00
|
|
|
# sbase version
|
|
|
|
VERSION = 0.0
|
|
|
|
|
2011-06-08 06:37:00 -04:00
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
2011-06-08 12:54:55 -04:00
|
|
|
MANPREFIX = $(PREFIX)/share/man
|
2011-06-08 06:37:00 -04:00
|
|
|
|
2014-11-17 08:50:19 -05:00
|
|
|
CC = cc
|
|
|
|
AR = ar
|
2014-11-17 07:22:53 -05:00
|
|
|
RANLIB = ranlib
|
|
|
|
|
2015-06-04 19:16:13 -04: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 18:34:58 -04:00
|
|
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
|
2014-11-17 05:31:29 -05:00
|
|
|
CFLAGS = -std=c99 -Wall -pedantic
|
2015-04-20 12:39:50 -04:00
|
|
|
LDFLAGS = -s
|