- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
25 lines (17 loc) · 482 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (17 loc) · 482 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: all build rebuild unistall clean environment run
all: build
build: install environment
rebuild: clean install
install:
cmake -S ./lib/calculation -B ./lib/calculation/build
cmake --build ./lib/calculation/build -j $(nproc)
unistall:
find ./ -name "build" -type d -exec rm -rf {} +
clean: unistall
find ./ -name "__pycache__" -type d -exec rm -rf {} +
environment:
python3 -m venv .env
. .env/bin/activate
pip install -r requirements.txt
run:
python3 main.py