1 CAMLP4FLAGS=@CAMLP4FLAGS@
2 OCAMLBUILDFLAGS=-j 0 -use-ocamlfind @OCAMLBUILDFLAGS@ $(CAMLP4FLAGS:%=-tag %)
3 OCAMLBUILD=@OCAMLBUILD@
4 PACKAGE = @PACKAGE_TARNAME@
5 NATIVE=$(PACKAGE).native
14 TAGS= -tag 'inline($(INLINE))'
17 .PHONY: clean distclean test test_byte test_native do_test all $(TARGETS)
23 @ $(OCAMLBUILD) $(OCAMLBUILDFLAGS) $@
26 @ $(OCAMLBUILD) $(OCAMLBUILDFLAGS) -clean
29 @ rm -rf configure config.log config.status autom4te.cache Makefile
36 test_native: PROG=$(NATIVE)
37 test_native: $(NATIVE) do_test
39 test_byte: PROG=$(BYTE)
40 test_byte: $(BYTE) do_test
44 for test in tests/test_*.sh ; \
46 $${test} $(PROG) tests ; \