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