2023-02-07 11:35:22 +00:00
|
|
|
#!/bin/sh
|
2023-02-05 02:23:23 +00:00
|
|
|
|
2022-11-14 20:41:43 +00:00
|
|
|
CC=clang
|
|
|
|
SRC=rose.c
|
2023-02-07 13:17:10 +00:00
|
|
|
# REQS=./plugins/*/*.c
|
|
|
|
REQS=./plugins/stand_in/stand_in.c
|
2023-02-07 11:35:22 +00:00
|
|
|
DEPS='webkit2gtk-4.0'
|
2022-11-14 20:41:43 +00:00
|
|
|
|
2023-02-07 11:35:22 +00:00
|
|
|
INCS=`pkg-config --cflags ${DEPS}`
|
|
|
|
LIBS=`pkg-config --libs ${DEPS}`
|
2022-11-14 20:41:43 +00:00
|
|
|
|
2022-11-17 16:57:11 +00:00
|
|
|
# Optional adblocking depends on https://github.com/jun7/wyebadblock
|
|
|
|
WYEBAB='-L/usr/lib/wyebrowser/adblock.so'
|
|
|
|
|
2023-02-07 13:17:10 +00:00
|
|
|
# cp -f config.def.h config.h
|
2023-02-07 11:35:22 +00:00
|
|
|
$CC $INCS $REQS $SRC -o rose $LIBS $WYEBAB
|