1 # customize below to fit your system
5 MANPREFIX = ${PREFIX}/share/man
7 GITINC = /usr/local/include
8 GITLIB = /usr/local/lib
12 LIBS = -L${GITLIB} -lgit2 -lc
15 CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
16 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
20 #CFLAGS = -O2 -std=c99 \
21 # -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
25 #CFLAGS = -static -O2 -std=c99 \
26 # -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
27 #LDFLAGS = -static -s ${LIBS}
29 # uncomment for compat
31 # uncomment if your libc doesn't support strlcat, strlcpy.
32 EXTRAOBJ = strlcat.o strlcpy.o