v1.00
[apc.git] / build.sh
blob3174bacbf9755efa3bb56bc420bd71f6056fa211
1 #!/bin/sh
3 set -e
5 libs="unix.cma lablgl.cma lablglut.cma threads.cma"
6 flags="-custom -thread -I +lablGL"
7 test -z "$comp" && comp=ocamlc
8 $comp -o apc $flags $libs apc.ml ml_apc.c
9 cc -o hog -Wall -Werror -pedantic -W hog.c
11 (cd mod && make)