Back to project.

Raw source file available here .

all: tikker run

tikker: tikker.c sormc.h
gcc tikker.c -Ofast -Wall -Werror -Wextra -o tikker -lsqlite3

run:
./tikker

PYTHON="./.venv/bin/python"

ensure_env:
-@python3 -m venv .venv
$(PYTHON) -m pip install dataset matplotlib

merge:
$(PYTHON) merge.py

plot: ensure_env
time $(PYTHON) plot.py
time $(PYTHON) merge.py

graph: graph.c
gcc -o graph graph.c -I/usr/include/SDL2 -L/usr/lib -lSDL2
./graph

graph2: graph2.c
gcc -o graph2 graph2.c -I/usr/include/SDL2 -L/usr/lib -lSDL2
./graph2

index:
$(PYTHON) tags.py --index

popular:
$(PYTHON) tags.py --popular

process:
PYTHONPATH=/home/retoor/bin $(PYTHON) process.py