X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=c40df0b65ce9cdf08d65154e5f2d137b2a241560;hb=e9c9715f52afd3b4e3d512aea9d021e7e1980f63;hp=6d2469191a64afcba81a9addd804abc9a6a6c224;hpb=efdd0dd584829a9db969511e487010bf2107b503;p=surf.git diff --git a/config.mk b/config.mk index 6d24691..c40df0b 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # surf version -VERSION = 0.0 +VERSION = 0.4 # Customize below to fit your system @@ -13,14 +13,12 @@ GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) # includes and libs INCS = -I. -I/usr/include ${GTKINC} -LIBS = -L/usr/lib -lc ${GTKLIB} +LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -CFLAGS = -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} -#LDFLAGS = -s ${LIBS} -LDFLAGS = ${LIBS} +CPPFLAGS = -DVERSION=\"${VERSION}\" +CFLAGS = -std=c99 -pedantic -Wall -O0 -g ${INCS} ${CPPFLAGS} +LDFLAGS = -g ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"