X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=gruntmaster-compile;h=c83a03f883911459951b8cd45b616585ef69e143;hp=0ab18fc693a86dc0a72f9779217b8c3ac7514639;hb=34e1677139c95be7cb419d4813d83943a70f446e;hpb=8473542d42779eebcd7b0dd45dcf5183d112252c diff --git a/gruntmaster-compile b/gruntmaster-compile index 0ab18fc..c83a03f 100755 --- a/gruntmaster-compile +++ b/gruntmaster-compile @@ -30,6 +30,7 @@ given ($format){ exec 'go', qw/build -compiler gccgo/, $name, when 'GCCGO'; exec 'ghc', qw/-DONLINE_JUDGE -Wall -O2 -o/, $basename, $name when 'HASKELL'; exec 'rustc', qw/-O -o/, $basename, $name when 'RUST'; + exec 'ocamlc', qw/-o/, $basename, $name when 'OCAML'; when ('BRAINFUCK') { system 'bfc', $name and die "bfc failed: errno=$! return=$?"; @@ -118,6 +119,10 @@ Compile commands for each format: ghc -DONLINE_JUDGE -Wall -O2 -o $output $input +=item OCAML + + ocamlc -o $output $input + =item RUST rustc -O -o $output $input