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
|
2014-11-11 18:15:37 +00:00
|
|
|
LD = $(CC)
|
2014-11-17 13:50:19 +00:00
|
|
|
AR = ar
|
2014-11-17 12:22:53 +00:00
|
|
|
RANLIB = ranlib
|
|
|
|
|
2015-02-20 16:24:17 +00:00
|
|
|
# For NetBSD add -D_NETBSD_SOURCE
|
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-02-20 13:38:51 +00:00
|
|
|
LDFLAGS = -s # -lrt
|