rosenrot/build.sh

18 lines
386 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
2023-02-07 13:43:00 +00:00
# REQS=./plugins/stand_in/stand_in.c
REQS=./plugins/*/*.c
DEPS='webkit2gtk-4.0'
DEBUG= #'-g'
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 $DEBUG $INCS $REQS $SRC -o rose $LIBS $WYEBAB