Makefile 408 B

1234567891011121314151617181920212223
  1. RESULT := civicc
  2. SOURCES := ast.ml util.mli util.ml lexer.mll parser.mly stringify.mli \
  3. stringify.ml \
  4. phases/parse.ml phases/print.ml phases/desug.ml \
  5. phases/context_analysis.ml phases/test.ml \
  6. main.ml
  7. PRE_TARGETS := ast.cmi util.cmi
  8. LIBS := str
  9. OCAMLFLAGS := -g
  10. OCAMLYACC := menhir
  11. YFLAGS := --infer
  12. all: native-code
  13. clean:: myclean
  14. .PHONY: myclean
  15. myclean:
  16. rm -f a.out
  17. include OCamlMakefile