10
0
mirror of https://gitlab.com/scemama/EZFIO.git synced 2024-12-22 20:33:42 +01:00

Updated configure

This commit is contained in:
Anthony Scemama 2015-06-01 16:37:31 +02:00
parent 5313cd9e41
commit 5dc3509831
3 changed files with 6 additions and 18 deletions

View File

@ -28,17 +28,14 @@ include make.config
.PHONY: default clean distclean archive configure .PHONY: default clean distclean archive configure
default: make.config default: make.config
- bash -c "[[ -e lib/libezfio.a ]] && rm $$PWD/lib/*" $(MAKE) -C $$PWD/src
@echo Compiling library && make -C $$PWD/src static
@echo Building Python module && make -C $$PWD/src python
clean: clean:
- bash -c "[[ -e lib/libezfio.a ]] && rm $$PWD/lib/*" - bash -c "[[ -e lib/libezfio.a ]] && rm $$PWD/lib/*"
- bash -c "[[ -e Python/ezfio.py ]] && rm $$PWD/Python/*" - bash -c "[[ -e Python/ezfio.py ]] && rm $$PWD/Python/*"
- make -C $$PWD/src veryclean - bash -c "[[ -e Ocaml/ezfio.ml ]] && rm $$PWD/Ocaml/*"
- bash -c "[[ -e Bash/ezfio.sh ]] && rm $$PWD/Bash/*"
distclean: clean - $(MAKE) -C $$PWD/src veryclean
- rm -rf autom4te.cache config.status config.log make.config
archive: distclean archive: distclean
git archive --format=tar HEAD > EZFIO.$(VERSION).tar git archive --format=tar HEAD > EZFIO.$(VERSION).tar
@ -47,9 +44,6 @@ archive: distclean
tar -zcvf EZFIO.$(VERSION).tar.gz EZFIO tar -zcvf EZFIO.$(VERSION).tar.gz EZFIO
rm -rf EZFIO rm -rf EZFIO
configure: make.config.in configure.ac
autoconf
make.config: make.config:
./configure --host=dummy python configure.py

View File

@ -1,6 +0,0 @@
IRPF90 = irpf90
FC = gfortran -ffree-line-length-none -fPIC
FCFLAGS= -O2
RANLIB = ranlib
AR = ar
NINJA = ninja