mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-10-31 19:23:43 +01:00
Updated configure
This commit is contained in:
parent
5313cd9e41
commit
5dc3509831
16
Makefile
16
Makefile
@ -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
|
||||||
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
IRPF90 = irpf90
|
|
||||||
FC = gfortran -ffree-line-length-none -fPIC
|
|
||||||
FCFLAGS= -O2
|
|
||||||
RANLIB = ranlib
|
|
||||||
AR = ar
|
|
||||||
NINJA = ninja
|
|
Loading…
Reference in New Issue
Block a user