rosenrot/build.sh

17 lines
366 B
Bash
Raw Normal View History

#!/bin/sh
2023-02-05 02:23:23 +00:00
2022-11-14 20:41:43 +00:00
CC=clang
SRC=rose.c
# REQS=./plugins/*/*.c
REQS=./plugins/stand_in/stand_in.c
DEPS='webkit2gtk-4.0'
2022-11-14 20:41:43 +00:00
INCS=`pkg-config --cflags ${DEPS}`
LIBS=`pkg-config --libs ${DEPS}`
2022-11-14 20:41:43 +00:00
# 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 $REQS $SRC -o rose $LIBS $WYEBAB