sbase/config.mk
FRIGN 3eee8e1509 Remove DEBUG-define for eprintf.c
Prepend program name only when fmt doesn't begin with "usage".
2015-04-05 09:13:56 +01:00

17 lines
290 B
Makefile

# sbase version
VERSION = 0.0
# paths
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
CC = cc
LD = $(CC)
AR = ar
RANLIB = ranlib
# For NetBSD add -D_NETBSD_SOURCE
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
CFLAGS = -std=c99 -Wall -pedantic
LDFLAGS = -s # -lrt