diff options
| author | Filip Wandzio <contact@philw.dev> | 2025-09-04 22:25:39 +0200 |
|---|---|---|
| committer | Filip Wandzio <contact@philw.dev> | 2025-09-04 22:25:39 +0200 |
| commit | 1ba21da6cbc63c0c549fb92731e25bedc482eb51 (patch) | |
| tree | ddf6fc2259a2495f8de336a07873cc3c6796785e /analysis/e1anl/Makefile | |
| parent | e00f3a9ede1b8e46b480bd68daf48da0bb08acae (diff) | |
| download | e1-1ba21da6cbc63c0c549fb92731e25bedc482eb51.tar.gz e1-1ba21da6cbc63c0c549fb92731e25bedc482eb51.zip | |
Unify the directory, add new analysis methods, unify the code style
Signed-off-by: Filip Wandzio <contact@philw.dev>
Diffstat (limited to '')
| -rw-r--r-- | analysis/e1anl/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/analysis/e1anl/Makefile b/analysis/e1anl/Makefile new file mode 100644 index 0000000..7cbd4a3 --- /dev/null +++ b/analysis/e1anl/Makefile | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # Makefile | ||
| 2 | |||
| 3 | VENV_NAME=venv | ||
| 4 | PYTHON=$(VENV_NAME)/bin/python | ||
| 5 | SRC=src | ||
| 6 | OUTPUT=output | ||
| 7 | |||
| 8 | .PHONY: venv install run analyze clean | ||
| 9 | |||
| 10 | venv: | ||
| 11 | python3 -m venv $(VENV_NAME) | ||
| 12 | |||
| 13 | install: venv | ||
| 14 | $(PYTHON) -m pip install --upgrade pip | ||
| 15 | $(PYTHON) -m pip install -r requirements.txt | ||
| 16 | |||
| 17 | run: install | ||
| 18 | mkdir -p $(OUTPUT) | ||
| 19 | $(PYTHON) $(SRC)/main.py | ||
| 20 | |||
| 21 | analyze: install | ||
| 22 | mkdir -p $(OUTPUT) | ||
| 23 | $(PYTHON) $(SRC)/analyze_metrics.py | ||
| 24 | |||
| 25 | clean: | ||
| 26 | rm -rf $(VENV_NAME) | ||
| 27 | rm -rf $(OUTPUT) | ||
