aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorNunoSempere <nuno.sempere@protonmail.com>2023-04-21 19:19:11 -0400
committerNunoSempere <nuno.sempere@protonmail.com>2023-04-21 19:19:11 -0400
commitb129954d4d2f3fcc176f3bea96110e9dfd188bd5 (patch)
tree8092e2a59adbefdb692c278462aaeba5ce6a4bb0 /makefile
parentb32749aa6e495aedc286e9537a4ee664c467919c (diff)
feat: improve compilation a bit.
- tcc -> gcc (noticeably faster compilation)
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/makefile b/makefile
index 894fd08..832c245 100644
--- a/makefile
+++ b/makefile
@@ -6,7 +6,7 @@
# make uninstall
## C compiler
-CC=gcc
+CC=tcc # much faster compilation than gcc
## Main file
SRC=rose.c
@@ -53,6 +53,13 @@ DEFAULT_DIR=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot
CURRENT_DIR=`pwd`
build: $(SRC) $(PLUGS) $(CONFIG)
+ # Recompute constants
+ cd /plugins/readability/
+ sh recompute_READABILITY_N.sh
+ cd -
+ cd /plugins/style
+ sh recompute_STYLE_N.sh
+ cd -
# Make cache
mkdir -p $(CURRENT_CACHE_DIR)
# Hardcode cache path