10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-14 01:53:55 +01:00
quantum_package/ocaml/Makefile

20 lines
420 B
Makefile

LIBS=
PKGS=
OCAMLCFLAGS=-g
OCAMLBUILD=ocamlbuild -cflags $(OCAMLCFLAGS) -lflags -g
test_elements.byte:
%.inferred.mli: $(wildcard *.ml)
$(OCAMLBUILD) $*.inferred.mli -cflags -i -use-ocamlfind $(PKGS)
%.byte: $(wildcard *.ml) $(wildcard *.mli)
$(OCAMLBUILD) $*.byte -use-ocamlfind $(PKGS)
%.native: $(wildcard *.ml) $(wildcard *.mli)
$(OCAMLBUILD) $*.native -use-ocamlfind $(PKGS)
clean:
rm -rf _build