add 13 comp
This commit is contained in:
@@ -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__
|
||||
Reference in New Issue
Block a user