Build the PPX executable with compiler-libs and make
This commit is contained in:
5 files changed
+48
No files matched your search
@@ -0,0 +1,15 @@
|
||||
OCAMLC ?= ocamlc
|
||||
|
||||
.PHONY: all test clean
|
||||
all: continuum_ppx
|
||||
|
||||
continuum_ppx: continuum_ppx.ml
|
||||
$(OCAMLC) -I +compiler-libs ocamlcommon.cma $< -o $@
|
||||
|
||||
test: continuum_ppx
|
||||
$(OCAMLC) -ppx ./continuum_ppx test.ml -o test.byte
|
||||
./test.byte
|
||||
OCAMLC=$(OCAMLC) sh test_errors.sh
|
||||
|
||||
clean:
|
||||
rm -f continuum_ppx test.byte *.cmi *.cmo
|
||||
Reference in new issue
Block a user