Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Apr 7, 2024
1 parent 145ce60 commit b7797bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/joe/main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ let main f =
let sufix = backend_type_to_suffix !backend_type in
write_file f f_without_filename sufix;
match !backend_type with
| Intel | ARM -> (
let arch = backend_type_to_arch !backend_type in
String.concat " " ["gcc"; f_without_filename^sufix; "src/"^arch^"/libmincaml.c src/"^arch^"/stub.c -o "; f_without_filename ^ ".exe"] |> Sys.command |> ignore
)
| Intel | ARM ->
( let arch = backend_type_to_arch !backend_type in
String.concat " " [ "gcc"; f_without_filename^sufix;
"src/"^arch^"/libmincaml.c src/"^arch^"/stub.c -o ";
f_without_filename ^ ".exe"] |> Sys.command |> ignore )
| _ -> ()


let () =
let files = ref [] in
Expand Down

0 comments on commit b7797bf

Please sign in to comment.