From 978c7ca1ccda4fc1138c607b2ffaa9fede60bf08 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 23 Mar 2024 17:35:44 -0300 Subject: change formatting + refactor string code --- plugins/plugins.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/plugins.mk') 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) -- cgit v1.2.3