aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 7805479767e9104b8507e22d12441f145a2d123d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CC=clang
SRC=rose.c
REQS=./plugins/*/*.c
DEPS=('webkit2gtk-4.0')

INCS=`pkg-config --cflags ${DEPS[@]}`
LIBS=`pkg-config --libs ${DEPS[@]}`

# Optional adblocking depends on https://github.com/jun7/wyebadblock
WYEBAB='-L/usr/lib/wyebrowser/adblock.so'

cp -f config.def.h config.h
$CC $INCS $LIBS $REQS $SRC $WYEBAB -o rose