rosenrot/build.sh
davidovki 122437115d Remove bash-only features for sh scripts
Fix order of CC arguments to aid in linking on newer versions
2023-02-07 11:37:05 +00:00

16 lines
329 B
Bash
Executable File

#!/bin/sh
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 $REQS $SRC -o rose $LIBS $WYEBAB