sbase/config.mk

19 lines
392 B
Makefile
Raw Normal View History

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
CC = cc
LD = $(CC)
AR = ar
2014-11-17 12:22:53 +00:00
RANLIB = ranlib
# 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
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