mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-25 05:51:46 +02:00
Fix ocaml makefile
This commit is contained in:
parent
1ef8ff12fd
commit
985592ad89
11
ocaml/.gitignore
vendored
11
ocaml/.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
cd .gitignore
|
.gitignore
|
||||||
ezfio.ml
|
ezfio.ml
|
||||||
Qptypes.ml
|
Qptypes.ml
|
||||||
qptypes_generator.byte
|
qptypes_generator.byte
|
||||||
@ -10,6 +10,7 @@ qp_print.native
|
|||||||
qp_run.native
|
qp_run.native
|
||||||
qp_set_ddci.native
|
qp_set_ddci.native
|
||||||
qp_set_mo_class.native
|
qp_set_mo_class.native
|
||||||
|
qp_edit.native
|
||||||
test_atom.byte
|
test_atom.byte
|
||||||
test_basis.byte
|
test_basis.byte
|
||||||
test_bitlist.byte
|
test_bitlist.byte
|
||||||
@ -37,15 +38,13 @@ qp_print
|
|||||||
qp_run
|
qp_run
|
||||||
qp_set_ddci
|
qp_set_ddci
|
||||||
qp_set_mo_class
|
qp_set_mo_class
|
||||||
qp_edit.ml
|
|
||||||
Input_pseudo.ml
|
Input_pseudo.ml
|
||||||
Input_integrals_bielec.ml
|
Input_integrals_bielec.ml
|
||||||
Input_hartree_fock.ml
|
Input_hartree_fock.ml
|
||||||
Input_perturbation.ml
|
Input_perturbation.ml
|
||||||
Input_determinants.ml
|
Input_determinants.ml
|
||||||
Input_properties.ml
|
Input_properties.ml
|
||||||
Input_cas_sd.ml
|
qp_edit.ml
|
||||||
Input_cisd_sc2_selected.ml
|
qp_edit
|
||||||
Input_full_ci.ml
|
qp_edit.native
|
||||||
Input_mrcc.ml
|
|
||||||
Input_auto_generated.ml
|
Input_auto_generated.ml
|
||||||
|
@ -13,10 +13,10 @@ LIBS=
|
|||||||
PKGS=
|
PKGS=
|
||||||
OCAMLCFLAGS="-g -warn-error A"
|
OCAMLCFLAGS="-g -warn-error A"
|
||||||
OCAMLBUILD=ocamlbuild -j 0 -syntax camlp4o -cflags $(OCAMLCFLAGS) -lflags $(OCAMLCFLAGS)
|
OCAMLBUILD=ocamlbuild -j 0 -syntax camlp4o -cflags $(OCAMLCFLAGS) -lflags $(OCAMLCFLAGS)
|
||||||
MLFILES=$(wildcard *.ml) ezfio.ml Qptypes.ml Input_auto_generated.ml
|
MLFILES=$(wildcard *.ml) ezfio.ml Qptypes.ml Input_auto_generated.ml qp_edit.ml
|
||||||
MLIFILES=$(wildcard *.mli)
|
MLIFILES=$(wildcard *.mli)
|
||||||
ALL_TESTS=$(patsubst %.ml,%.byte,$(wildcard test_*.ml))
|
ALL_TESTS=$(patsubst %.ml,%.byte,$(wildcard test_*.ml))
|
||||||
ALL_EXE=$(patsubst %.ml,%.native,$(wildcard qp_*.ml))
|
ALL_EXE=$(patsubst %.ml,%.native,$(wildcard qp_*.ml)) qp_edit.native
|
||||||
|
|
||||||
.PHONY: executables default
|
.PHONY: executables default
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ default: $(ALL_TESTS) $(ALL_EXE) .gitignore
|
|||||||
@for i in .gitignore ezfio.ml Qptypes.ml qptypes_generator.byte _build $(ALL_EXE) $(ALL_TESTS) \
|
@for i in .gitignore ezfio.ml Qptypes.ml qptypes_generator.byte _build $(ALL_EXE) $(ALL_TESTS) \
|
||||||
$(patsubst %.ml,%,$(wildcard test_*.ml)) $(patsubst %.ml,%,$(wildcard qp_*.ml)) \
|
$(patsubst %.ml,%,$(wildcard test_*.ml)) $(patsubst %.ml,%,$(wildcard qp_*.ml)) \
|
||||||
$(shell grep Input Input_auto_generated.ml | awk '{print $$2 ".ml"}') \
|
$(shell grep Input Input_auto_generated.ml | awk '{print $$2 ".ml"}') \
|
||||||
Input_auto_generated.ml;\
|
qp_edit.ml qp_edit qp_edit.native Input_auto_generated.ml;\
|
||||||
do \
|
do \
|
||||||
echo $$i ; \
|
echo $$i ; \
|
||||||
done > .gitignore
|
done > .gitignore
|
||||||
@ -74,7 +74,7 @@ Qptypes.ml: qptypes_generator.byte
|
|||||||
${QPACKAGE_ROOT}/EZFIO/Ocaml/ezfio.ml:
|
${QPACKAGE_ROOT}/EZFIO/Ocaml/ezfio.ml:
|
||||||
$(MAKE) -C ${QPACKAGE_ROOT}/src ezfio
|
$(MAKE) -C ${QPACKAGE_ROOT}/src ezfio
|
||||||
|
|
||||||
Input_auto_generated.ml:
|
Input_auto_generated.ml qp_edit.ml:
|
||||||
ei_handler.py ocaml_global
|
ei_handler.py ocaml_global
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user