aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
blob: ce6682d5dd4654281d9c5b3109999b98192c2558 (plain) (blame)
1
2
3
4
5
6
7
8
9
PREFIX    = /usr
MANPREFIX = $(PREFIX)/share/man

CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
CFLAGS   = -std=c99 -Wall -Wextra -O3 $(CPPFLAGS)
LDFLAGS  = -s

LIBEXT   = so
LIBFLAGS = -shared -Wl,-soname,libsha2.$(LIBEXT).$(LIB_MAJOR)