fix : nom fichier
This commit is contained in:
parent
063bdf6ca5
commit
791deb135e
3 changed files with 4 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,5 +1,5 @@
|
|||
_build/
|
||||
outfile
|
||||
outfile2
|
||||
graphdepart
|
||||
*~
|
||||
*.exe
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -20,10 +20,10 @@ edit:
|
|||
|
||||
demo: build
|
||||
@echo "\n ⚡ EXECUTING ⚡\n"
|
||||
./ftest.exe graphs/${graph} $(src) $(dst) outfile outfile2
|
||||
./ftest.exe graphs/${graph} $(src) $(dst) outfile graphdepart
|
||||
@echo "\n 🥁 RESULT (content of outfile) 🥁\n"
|
||||
@cat outfile
|
||||
make dot graphdot="outfile2"
|
||||
make dot graphdot="graphdepart"
|
||||
make dot graphdot="outfile"
|
||||
clean:
|
||||
find -L . -name "*~" -delete
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ let rec mainloop graph p1 p2 fl=
|
|||
let () =
|
||||
|
||||
(* Check the number of command-line arguments *)
|
||||
if Array.length Sys.argv <> 5 then
|
||||
if Array.length Sys.argv <> 6 then
|
||||
begin
|
||||
Printf.printf
|
||||
"\n ✻ Usage: %s infile source sink outfile\n\n%s%!" Sys.argv.(0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue