summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-23 22:12:00 +0100
committerQuentin Rameau <quinq@fifth.space>2016-09-22 10:21:31 +0200
commitda5290a41aac4eabef83f6b88039f44d28b0ea00 (patch)
treecab3224d386b9005808b44f2b2b86885e9fb2403 /config.mk
parentc64c368d86a4319e43b7ff3d73a4afe0f4e8adf0 (diff)
Add support for loading Webkit extensions
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index e71316c..c0a9959 100644
--- a/config.mk
+++ b/config.mk
@@ -6,6 +6,7 @@ VERSION = 0.6
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
+LIBPREFIX = ${PREFIX}/lib/surf
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
@@ -18,7 +19,7 @@ INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
+CPPFLAGS = -DVERSION=\"${VERSION}\" -DWEBEXTDIR=\"${LIBPREFIX}\" -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}