mirror of
https://github.com/LCPQ/quantum_package
synced 2025-04-10 18:51:38 +02:00
Fixed EZFIO.cfg
This commit is contained in:
parent
8748e8e3f4
commit
4e852bf9a5
@ -131,11 +131,17 @@ endif
|
||||
|
||||
# Define the EZFIO rules
|
||||
|
||||
$(EZFIO): $(wildcard $(QPACKAGE_ROOT)/src/*.ezfio_config) $(wildcard $(QPACKAGE_ROOT)/src/*/*.ezfio_config) $(wildcard EZ*FIO.cfg)
|
||||
$(EZFIO): $(wildcard $(QPACKAGE_ROOT)/src/*.ezfio_config) $(wildcard $(QPACKAGE_ROOT)/src/*/*.ezfio_config) $(wildcard $(QPACKAGE_ROOT)/src/*/EZFIO.cfg)
|
||||
@echo Building EZFIO library
|
||||
@$(QPACKAGE_ROOT)/scripts/ezfio_interface.py
|
||||
@cp $(wildcard $(QPACKAGE_ROOT)/src/*.ezfio_config) $(wildcard $(QPACKAGE_ROOT)/src/*/*.ezfio_config) $(EZFIO_DIR)/config
|
||||
@cd $(EZFIO_DIR) ; export FC="$(FC)" ; export FCFLAGS="$(FCFLAGS)" ; export IRPF90="$(IRPF90)" ; $(MAKE) ; $(MAKE) Python
|
||||
@echo =-=-=-=-=-=-=-=-=-=-=-
|
||||
for dir in $(QPACKAGE_ROOT)/src/*/ ;\
|
||||
do \
|
||||
cd $$dir && \
|
||||
$(QPACKAGE_ROOT)/scripts/ezfio_interface.py && \
|
||||
cd .. ;\
|
||||
done
|
||||
cp $(wildcard $(QPACKAGE_ROOT)/src/*.ezfio_config) $(wildcard $(QPACKAGE_ROOT)/src/*/*.ezfio_config) $(EZFIO_DIR)/config
|
||||
cd $(EZFIO_DIR) ; export FC="$(FC)" ; export FCFLAGS="$(FCFLAGS)" ; export IRPF90="$(IRPF90)" ; $(MAKE) ; $(MAKE) Python
|
||||
|
||||
ezfio: $(EZFIO)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user