Updated build config.

This commit is contained in:
2024-12-02 15:10:18 +01:00
parent b6cce442c2
commit 64e8004e5a
78 changed files with 416 additions and 1 deletions
+9 -1
View File
@@ -1,7 +1,7 @@
CC = gcc
CFLAGS = -Wall -Werror -Wextra -Ofast -std=c2x
all: build run valgrind build_risspam run_risspam benchmark
all: build run valgrind build_risspam run_risspam
build:
@echo "Compiling retoor_c project.".
@@ -40,6 +40,14 @@ run_not_spam_risspam:
valgrind: build
valgrind ./isspam ./spam/*.txt
publish:
wget https://retoor.molodetz.nl/api/packages/retoor/generic/env.py/1.0.0/env.py
wget https://retoor.molodetz.nl/api/packages/retoor/generic/publish/1.0.0/publish
chmod +x publish
./publish isspam
./publish risspam
rm publish
rm env.py
benchmark:
-@rm -rf books
echo "Extracting books."