RESULT := coffee #GLOBALS := ast_coffee #PHASES := #SOURCES := $(addsuffix .mli,$(GLOBALS)) $(addsuffix .ml,$(GLOBALS)) \ # lexer.mll parser.mly main.mli \ # $(patsubst %,phases/%.mli,$(PHASES)) $(patsubst %,phases/%.ml,$(PHASES)) \ # main.ml SOURCES := util.ml ast_coffee.ml traverse.ml main.ml LIBS := str unix # Set debugging flag to enable exception backtraces for OCAMLRUNPARAM=b OCAMLFLAGS := -g #-pp camlp4o .PHONY: all all: native-code # The Types module needs an implementation file to stop ocamlc from complaining #types.ml: types.mli # cp $< $@ include OCamlMakefile