1 # ------------------------------
3 # ------------------------------
8 UseCamlp4(pa_oo pa_openin)
10 OCAMLINCLUDES += $(ROOT)/base
11 OCAML_LIBS += $(ROOT)/base/base
15 OCAMLINCLUDES += $(absname type/)
16 OCAML_LIBS += $(absname type/type)
17 .SUBDIRS: parser filter codegen
28 OCamlProgram($(PROGRAM), main $(FILES))
30 # ------------------------------
32 # ------------------------------
33 .DEFAULT: habc-scm$(EXE)
34 .PHONY: clean integrate integrate-detail
36 ocaml-clean *.abc habc-scm$(EXE)
38 integrate: habc-scm$(EXE)
39 sh example/test.sh $(absname $(ROOT)) example/*.scm
40 sh example/module/run.sh $(absname $(ROOT))
42 integrate-detail: habc-scm$(EXE)
43 foreach(x, $(ls example/*.scm))
44 (sh example/test.sh $(absname $(ROOT)) $(x); true) | tee -a $(ROOT)/integrate.log
45 sh example/module/run.sh $(absname $(ROOT)) | tee -a $(ROOT)/integrate.log