mirror of
https://github.com/LCPQ/quantum_package
synced 2025-05-06 07:05:25 +02:00
Improved makefile
This commit is contained in:
parent
12d6f6a568
commit
72e59ec688
@ -24,6 +24,7 @@ ALL_EXE=$(patsubst %.ml,%.native,$(wildcard qp_*.ml))
|
|||||||
default: $(ALL_TESTS) $(ALL_EXE)
|
default: $(ALL_TESTS) $(ALL_EXE)
|
||||||
|
|
||||||
executables: $(ALL_EXE)
|
executables: $(ALL_EXE)
|
||||||
|
$(MAKE) -C $(QPACKAGE_ROOT)/data executables
|
||||||
|
|
||||||
%.inferred.mli: $(MLFILES)
|
%.inferred.mli: $(MLFILES)
|
||||||
$(OCAMLBUILD) $*.inferred.mli -use-ocamlfind $(PKGS)
|
$(OCAMLBUILD) $*.inferred.mli -use-ocamlfind $(PKGS)
|
||||||
@ -34,7 +35,7 @@ executables: $(ALL_EXE)
|
|||||||
$(OCAMLBUILD) $*.byte -use-ocamlfind $(PKGS)
|
$(OCAMLBUILD) $*.byte -use-ocamlfind $(PKGS)
|
||||||
ln -s $*.byte $*
|
ln -s $*.byte $*
|
||||||
|
|
||||||
%.native: $(MLFILES) $(MLIFILES)
|
%.native: $(MLFILES) $(MLIFILES)
|
||||||
rm -f -- $*
|
rm -f -- $*
|
||||||
$(OCAMLBUILD) $*.native -use-ocamlfind $(PKGS)
|
$(OCAMLBUILD) $*.native -use-ocamlfind $(PKGS)
|
||||||
ln -s $*.native $*
|
ln -s $*.native $*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user