X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=ff7f604c78b411e310c254f89c183585fdc21091;hb=981e52d5a755f7a30fc59595ab84f9df05a84f01;hp=3674c4c0e5d4d6c44f3a110a517e51a3f3be0562;hpb=d2a44361231d7bc576cacf08e74ad8d6584de0e1;p=surf.git diff --git a/config.mk b/config.mk index 3674c4c..ff7f604 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # surf version -VERSION = 0.2 +VERSION = 0.4 # Customize below to fit your system @@ -7,8 +7,8 @@ VERSION = 0.2 PREFIX = /usr/local MANPREFIX = ${PREFIX}/share/man -GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) -GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0) +GTKINC=$(shell pkg-config --static --cflags gtk+-2.0 webkit-1.0) +GTKLIB=$(shell pkg-config --static --libs gtk+-2.0 webkit-1.0) # includes and libs @@ -17,10 +17,8 @@ LIBS = -L/usr/lib -lc ${GTKLIB} -lgthread-2.0 # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} -CFLAGS = -std=c99 -pedantic -Wall -Werror -O0 ${INCS} ${CPPFLAGS} -#LDFLAGS = -s ${LIBS} -LDFLAGS = ${LIBS} +CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +LDFLAGS = -g ${LIBS} -static # Solaris #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"