better download handling.
[surf.git] / config.mk
1 # surf version
2 VERSION = 0.0
3
4 # Customize below to fit your system
5
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = ${PREFIX}/share/man
9
10 GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0)
11 GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0)
12
13
14 # includes and libs
15 INCS = -I. -I/usr/include ${GTKINC}
16 LIBS = -L/usr/lib -lc ${GTKLIB}
17
18 # flags
19 CPPFLAGS = -DVERSION=\"${VERSION}\"
20 #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
21 CFLAGS = -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
22 #LDFLAGS = -s ${LIBS}
23 LDFLAGS = ${LIBS}
24
25 # Solaris
26 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
27 #LDFLAGS = ${LIBS}
28
29 # compiler and linker
30 CC = cc