fix : nom fichier

This commit is contained in:
Baptiste 2024-12-09 13:34:47 +01:00
parent 063bdf6ca5
commit 791deb135e
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View file

@ -1,5 +1,5 @@
_build/
outfile
outfile2
graphdepart
*~
*.exe

View file

@ -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

View file

@ -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)