Modif essentielle.

This commit is contained in:
Didier Le Botlan 2023-11-13 20:47:46 +01:00
parent d9aac80797
commit 6b4a7520ae

View file

@ -1,12 +1,13 @@
.PHONY: all build format edit demo clean
src?=1
dst?=2
src?=0
dst?=5
graph?=graph1.txt
all: build
build:
@echo "\n ⚙ COMPILING ⚙\n"
@echo "\n 🚨 COMPILING 🚨 \n"
dune build src/ftest.exe
ls src/*.exe > /dev/null && ln -fs src/*.exe .
@ -17,8 +18,8 @@ edit:
code . -n
demo: build
@echo "\n 🏁 EXECUTING 🏁\n"
./ftest.exe graphs/graph1 $(src) $(dst) outfile
@echo "\n ⚡ EXECUTING ⚡\n"
./ftest.exe graphs/${graph} $(src) $(dst) outfile
@echo "\n 🥁 RESULT (content of outfile) 🥁\n"
@cat outfile