NunoSempere
b50d30851b
- stuff to deal with plugin code wasn't actually compiling - created a "stand_in" plugin to provide headers and function definitions - when these are not used - it is likely there are better approaches here - hidebar, newtab -> hide_bar, new_tab
17 lines
366 B
Bash
Executable File
17 lines
366 B
Bash
Executable File
#!/bin/sh
|
|
|
|
CC=clang
|
|
SRC=rose.c
|
|
# REQS=./plugins/*/*.c
|
|
REQS=./plugins/stand_in/stand_in.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
|