# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man
+DOCPREFIX = ${PREFIX}/share/doc/stagit
+
+# compiler and linker
+#CC = cc
GITINC = /usr/local/include
GITLIB = /usr/local/lib
# includes and libs
INCS = -I${GITINC}
-LIBS = -L${GITLIB} -lgit2 -lc
+LIBS = -L${GITLIB} -lgit2
# debug
#CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic ${INCS}
#CFLAGS = -static -O2 -std=c99 ${INCS}
#LDFLAGS = -static -s ${LIBS}
-CPPFLAGS= -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}
-# compiler and linker
-#CC = cc
+CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}