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

View File

@ -29,7 +29,7 @@ export
include irpf90.make
irpf90.make: $(wildcard *.irp.f) ../config/*
irpf90.make: $(wildcard *.irp.f) ../config/*
$(IRPF90)
include ../version