#!/bin/sh # A crappy build script that needs to be replaced by some proper structure. OCAMLC="ocamlc -I cparser" make -C cparser (cd extracted; ./build) cp extracted/_build/extracted.cm[io] . $OCAMLC -c -g *.mli $OCAMLC -c -g error.ml $OCAMLC -c -g optionsParsing.ml $OCAMLC -c -g options.ml $OCAMLC -c -g *.ml $OCAMLC -custom -g extracted.cmo ../Deliverables/D2.2/8051/lib/libcparser.a cparser/cparser.cma clightFromC.cmo clightParser.cmo IntelHex.cmo clightPrinter.cmo rTLabsPrinter.cmo ASMPrinter.cmo printer.cmo error.cmo optionsParsing.cmo options.cmo clightLustre.cmo clightLustreMain.cmo acc.cmo -o acc