mirror of
git://git.suckless.org/sbase
synced 2024-12-22 23:13:44 +00:00
eaf3f4811b
Maybe people seem to stumble upon this problem on 32-bit glibc based systems. Just set it by default.
17 lines
334 B
Makefile
17 lines
334 B
Makefile
# sbase version
|
|
VERSION = 0.0
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = $(PREFIX)/share/man
|
|
|
|
CC = cc
|
|
AR = ar
|
|
RANLIB = ranlib
|
|
|
|
# for NetBSD add -D_NETBSD_SOURCE
|
|
# -lrt might be needed on some systems
|
|
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64
|
|
CFLAGS = -std=c99 -Wall -pedantic
|
|
LDFLAGS = -s
|