dkl9 commited on 2025-183 13:47:23
Showing 1 changed files, with 4 additions and 3 deletions.
| ... | ... |
@@ -1,11 +1,12 @@ |
| 1 | 1 |
PROF=profile.log |
| 2 |
+MAIN=src/main.py |
|
| 2 | 3 |
|
| 3 | 4 |
run: |
| 4 |
- python main.py |
|
| 5 |
+ python $(MAIN) |
|
| 5 | 6 |
|
| 6 | 7 |
dbg: |
| 7 |
- python -m pdb -c 'break debug_mode ;; cont' main.py |
|
| 8 |
+ python -m pdb -c 'break debug_mode ;; cont' $(MAIN) |
|
| 8 | 9 |
|
| 9 | 10 |
prof: |
| 10 |
- python -m cProfile main.py >$(PROF) |
|
| 11 |
+ python -m cProfile $(MAIN) >$(PROF) |
|
| 11 | 12 |
$(PAGER) $(PROF) |
| 12 | 13 |