10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-07-22 18:57:31 +02:00

Improved makefile

This commit is contained in:
Anthony Scemama 2014-10-10 00:33:32 +02:00
parent 12d6f6a568
commit 72e59ec688

View File

@ -24,6 +24,7 @@ ALL_EXE=$(patsubst %.ml,%.native,$(wildcard qp_*.ml))
default: $(ALL_TESTS) $(ALL_EXE)
executables: $(ALL_EXE)
$(MAKE) -C $(QPACKAGE_ROOT)/data executables
%.inferred.mli: $(MLFILES)
$(OCAMLBUILD) $*.inferred.mli -use-ocamlfind $(PKGS)
@ -34,7 +35,7 @@ executables: $(ALL_EXE)
$(OCAMLBUILD) $*.byte -use-ocamlfind $(PKGS)
ln -s $*.byte $*
%.native: $(MLFILES) $(MLIFILES)
%.native: $(MLFILES) $(MLIFILES)
rm -f -- $*
$(OCAMLBUILD) $*.native -use-ocamlfind $(PKGS)
ln -s $*.native $*