mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-12-22 12:23:34 +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
|
||||
|
||||
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
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
IRPF90 = irpf90
|
||||
FC = gfortran -ffree-line-length-none -fPIC
|
||||
FCFLAGS= -O2
|
||||
RANLIB = ranlib
|
||||
AR = ar
|
||||
NINJA = ninja
|
@ -29,7 +29,7 @@ export
|
||||
|
||||
include irpf90.make
|
||||
|
||||
irpf90.make: $(wildcard *.irp.f) ../config/*
|
||||
irpf90.make: $(wildcard *.irp.f) ../config/*
|
||||
$(IRPF90)
|
||||
|
||||
include ../version
|
||||
|
Loading…
Reference in New Issue
Block a user