makefile 255 Bytes
Newer Older
Mozul Rémy's avatar
Mozul Rémy committed
1
2
3
4

all: test.so

libtype.so: mod_type.f90
5
	gfortran -fPIC -shared -o $@ $<
Mozul Rémy's avatar
Mozul Rémy committed
6
7
8
9
10
11

test.so: test.pyx libtype.so
	python setup.py build_ext -i

clean:
	@rm -f *.so *.c *.mod
12
13
14

# make
# PYTHONPATH=${PYTHONPATH}:. LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:. python pytest.py