|
|
tconfig.mk - stagit-gopher - A git gopher frontend. (mirror) |
|
|
 |
git clone git://bitreich.org/stagit-gopher/ git://hg6vgqziawt5s4dj.onion/stagit-gopher/ (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
|
tconfig.mk (622B) |
|
|
|
--- |
|
|
|
1 # customize below to fit your system |
|
|
|
2 |
|
|
|
3 # paths |
|
|
|
4 PREFIX = /usr/local |
|
|
|
5 MANPREFIX = ${PREFIX}/man |
|
|
|
6 DOCPREFIX = ${PREFIX}/share/doc/stagit-gopher |
|
|
|
7 |
|
|
|
8 # compiler and linker |
|
|
|
9 #CC = cc |
|
|
|
10 |
|
|
|
11 GITINC = /usr/local/include |
|
|
|
12 GITLIB = /usr/local/lib |
|
|
|
13 |
|
|
|
14 # includes and libs |
|
|
|
15 INCS = -I${GITINC} |
|
|
|
16 LIBS = -L${GITLIB} -lgit2 |
|
|
|
17 |
|
|
|
18 # debug |
|
|
|
19 #CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic ${INCS} |
|
|
|
20 #LDFLAGS = ${LIBS} |
|
|
|
21 |
|
|
|
22 # optimized |
|
|
|
23 CFLAGS = -O2 -std=c99 ${INCS} |
|
|
|
24 LDFLAGS = -s ${LIBS} |
|
|
|
25 |
|
|
|
26 # optimized static |
|
|
|
27 #CFLAGS = -static -O2 -std=c99 ${INCS} |
|
|
|
28 #LDFLAGS = -static -s ${LIBS} |
|
|
|
29 |
|
|
|
30 CPPFLAGS = -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS} |
|