mirror of
https://github.com/LCPQ/quantum_package
synced 2024-09-01 09:03:42 +02:00
20 lines
420 B
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
|