aboutsummaryrefslogtreecommitdiff
path: root/plugins/plugins.mk
diff options
context:
space:
mode:
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)