add 13 comp

This commit is contained in:
2026-05-13 08:54:08 +07:00
parent b5d227d7ab
commit 0b31a50c20
6 changed files with 865 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
CXX := g++
CXXFLAGS := -O2 -std=c++17 -Wall -Wextra -pedantic
PYTHON := $(abspath ../.venv/bin/python)
OUT_DIR := out
.PHONY: all run test export clean
all: shm_sort pipe_sort
shm_sort: shm_sort.cpp
$(CXX) $(CXXFLAGS) shm_sort.cpp -o shm_sort
pipe_sort: pipe_sort.cpp
$(CXX) $(CXXFLAGS) pipe_sort.cpp -o pipe_sort
run: all
$(PYTHON) exporter.py --out $(OUT_DIR)
test: run
export: run
clean:
rm -f shm_sort pipe_sort
rm -rf $(OUT_DIR) __pycache__