Makefile 566 B

1234567891011121314151617181920212223242526
  1. RESULT := mincss
  2. SOURCES := types.ml types.mli stringify.ml lexer.mll parser.mly util.ml parse.ml \
  3. main.ml
  4. PRE_TARGETS := types.ml types.cmi stringify.cmi
  5. LIBS := str
  6. # Set debugging flag to enable exception backtraces for OCAMLRUNPARAM=b
  7. OCAMLFLAGS := -g
  8. OCAMLYACC := menhir
  9. YFLAGS := --infer --explain --dump
  10. .PHONY: all myclean
  11. all: native-code
  12. clean:: myclean
  13. # The Types module needs an implementation to stop ocamlc from complaining
  14. types.ml: types.mli
  15. cp $< $@
  16. myclean:
  17. rm -f a.out types.ml parser.conflicts parser.automaton
  18. include OCamlMakefile