aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2022-12-17 20:54:47 +0100
committerNunoSempere <nuno.sempere@protonmail.com>2022-12-17 20:54:47 +0100
commitf5d1c0f93dc744c4d548cf99206ec9151c42e73c (patch)
treedf217b99fc3f43c069582e0dfe759cb9e4ce8474
parent98abdb39c4c043fa5175f0dc6e532ec794a5dc18 (diff)
tweak: integrate "plugins" into build.sh
-rwxr-xr-xbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index fcb7bea..7805479 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,6 @@
CC=clang
SRC=rose.c
+REQS=./plugins/*/*.c
DEPS=('webkit2gtk-4.0')
INCS=`pkg-config --cflags ${DEPS[@]}`
@@ -9,4 +10,4 @@ LIBS=`pkg-config --libs ${DEPS[@]}`
WYEBAB='-L/usr/lib/wyebrowser/adblock.so'
cp -f config.def.h config.h
-$CC $INCS $LIBS $SRC $WYEBAB -o rose
+$CC $INCS $LIBS $REQS $SRC $WYEBAB -o rose