10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-25 22:52:15 +02:00
quantum_package/ocaml/Makefile

20 lines
420 B
Makefile
Raw Normal View History

2014-08-13 17:54:32 +02:00
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