Modif essentielle.
This commit is contained in:
parent
d9aac80797
commit
6b4a7520ae
1 changed files with 6 additions and 5 deletions
11
Makefile
11
Makefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue