Fixed Makefiles

This commit is contained in:
Anthony Scemama 2019-10-01 09:36:29 +02:00
parent 1e99c27416
commit be84027a8c
5 changed files with 9 additions and 7 deletions

2
.gitignore vendored
View File

@ -1,5 +1,3 @@
.ninja_deps
.ninja_log
EZFIO EZFIO
install/Downloads install/Downloads
install/_build install/_build

3
ocaml/.gitignore vendored
View File

@ -5,9 +5,6 @@
ezfio.ml ezfio.ml
Qptypes.ml Qptypes.ml
.ls_md5 .ls_md5
.ninja_deps
.ninja_log
generated.ninja
qmcchem qmcchem
qptypes_generator qptypes_generator
Property.ml Property.ml

View File

@ -4,9 +4,11 @@
make -C ocaml clean make -C ocaml clean
if [[ -d src/IRPF90_temp ]] if [[ -d src/IRPF90_temp ]]
then then
make -C src/IRPF90_temp -t clean make -C src/IRPF90_temp clean
fi fi
make -C EZFIO clean
rm -f ocaml/qmcchem ocaml/.ls_md5 rm -f ocaml/qmcchem ocaml/.ls_md5
rm -f EZFIO/Ocaml/ezfio.ml rm -f EZFIO/Ocaml/ezfio.ml
cd src cd src

1
src/.gitignore vendored
View File

@ -4,5 +4,4 @@ irpf90.make
irpf90_entities irpf90_entities
tags tags
.ls_md5 .ls_md5
Makefile
properties.pyc properties.pyc

6
src/Makefile Normal file
View File

@ -0,0 +1,6 @@
IRPF90+= $(IRPF90_FLAGS)
include irpf90.make
export
irpf90.make: $(filter-out IRPF90_temp/%, $(wildcard */*.irp.f)) $(wildcard *.irp.f) $(wildcard *.inc.f) Makefile
$(IRPF90)