X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=35466651939ed79b3bd54bd482f79386c3e9309d;hb=d1eb8253b1052432778bf44f2213055f32bed4b7;hp=6d2469191a64afcba81a9addd804abc9a6a6c224;hpb=efdd0dd584829a9db969511e487010bf2107b503;p=surf.git diff --git a/config.mk b/config.mk index 6d24691..3546665 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # surf version -VERSION = 0.0 +VERSION = 0.4.1 # 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 -Os ${INCS} ${CPPFLAGS} +LDFLAGS = -g ${LIBS} # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"