aboutsummaryrefslogtreecommitdiff
path: root/build.sh
blob: 3518b0a2f3714b38938d310b2d0da643c59c4408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

CC=clang
SRC=rose.c
# REQS=./plugins/stand_in/stand_in.c
REQS=./plugins/*/*.c
DEPS='webkit2gtk-4.0'
DEBUG= #'-g'

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 $DEBUG $INCS $REQS $SRC -o rose $LIBS $WYEBAB