Makefile 583 B

12345678910111213141516171819202122
  1. RESULT := coffee
  2. #GLOBALS := ast_coffee
  3. #PHASES :=
  4. #SOURCES := $(addsuffix .mli,$(GLOBALS)) $(addsuffix .ml,$(GLOBALS)) \
  5. # lexer.mll parser.mly main.mli \
  6. # $(patsubst %,phases/%.mli,$(PHASES)) $(patsubst %,phases/%.ml,$(PHASES)) \
  7. # main.ml
  8. SOURCES := util.ml ast_coffee.ml traverse.ml main.ml
  9. LIBS := str unix
  10. # Set debugging flag to enable exception backtraces for OCAMLRUNPARAM=b
  11. OCAMLFLAGS := -g #-pp camlp4o
  12. .PHONY: all
  13. all: native-code
  14. # The Types module needs an implementation file to stop ocamlc from complaining
  15. #types.ml: types.mli
  16. # cp $< $@
  17. include OCamlMakefile