RESULT := civicc SOURCES := ast.ml lexer.mll parser.mly util.mli util.ml stringify.mli \ stringify.ml \ phases/parse.ml phases/print.ml phases/desug.ml \ phases/context_analysis.ml phases/test.ml \ main.ml PRE_TARGETS := ast.cmi LIBS := str OCAMLFLAGS := -g OCAMLYACC := menhir YFLAGS := --infer all: native-code parser.mly: parser.cpp.mly cpp -o $@ $< line=`grep -m 1 -n '%{' $@ | head -c -4`; \ sed -i "1,$$(($$line - 1))d" $@ clean:: myclean .PHONY: myclean myclean: rm -f a.out include OCamlMakefile