aboutsummaryrefslogblamecommitdiffstats
path: root/config.mk
blob: 494927cd0fad94e39e925bb584033e908dc0ff56 (plain) (tree)
1
2
3
4
5
6
7
8





                                                                            

                                                                                     
PREFIX    = /usr/local
MANPREFIX = $(PREFIX)/share/man

CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
CFLAGS   = -std=c99 -Wall -Wextra -pedantic -O2 $(CPPFLAGS)
LDFLAGS  = -s -lrt

# Add -DSEMUN_ALREADY_DEFINED to CPPFLAGS if `union semun` is already defined by libc