aboutsummaryrefslogtreecommitdiff
path: root/plugins/plugins.mk
diff options
context:
space:
mode:
authorNunoSempere <nuno.semperelh@protonmail.com>2024-03-23 17:35:44 -0300
committerNunoSempere <nuno.semperelh@protonmail.com>2024-03-23 17:35:44 -0300
commit978c7ca1ccda4fc1138c607b2ffaa9fede60bf08 (patch)
tree637df171013cd4c7fce33a3b663a0a13293071e2 /plugins/plugins.mk
parentc8ff246cc256633820a18d6cc149d027082216e1 (diff)
change formatting + refactor string code
Diffstat (limited to 'plugins/plugins.mk')
-rw-r--r--plugins/plugins.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/plugins.mk b/plugins/plugins.mk
index f95cac7..f8d000f 100644
--- a/plugins/plugins.mk
+++ b/plugins/plugins.mk
@@ -1,14 +1,17 @@
+## Shared
+COMMON_CODE=./plugins/strings/strings.c
+
## Plugins
CUSTOM_STYLES=./plugins/style/style.c
SHORTCUTS=./plugins/shortcuts/shortcuts.c
READABILITY=./plugins/readability/readability.c
-LIBRE_REDIRECT=./plugins/libre_redirect/libre_redirect.c ./plugins/libre_redirect/str_replace_start.c ./plugins/libre_redirect/str_init.c
+LIBRE_REDIRECT=./plugins/libre_redirect/libre_redirect.c
ADBLOCK='-L/usr/lib/wyebrowser/adblock.so' # optional adblocking; depends on https://github.com/jun7/wyebadblock
STAND_IN=./plugins/stand_in/stand_in.c # gives function definitions for the above, which do nothing
-PLUGINS=$(CUSTOM_STYLES) $(SHORTCUTS) $(READABILITY) $(LIBRE_REDIRECT)
+PLUGINS=$(COMMON_CODE) $(CUSTOM_STYLES) $(SHORTCUTS) $(READABILITY) $(LIBRE_REDIRECT)
# PLUGINS=$(STAND_IN)