msspec_python3/src/Makefile

19 lines
392 B
Makefile
Raw Normal View History

2019-11-15 11:16:06 +01:00
VERSION:=$(shell python -c "import msspec; print(msspec.__version__)")
install: sdist
@pip install dist/msspec-$(VERSION).tar.gz
sdist: pybinding
@python setup.py sdist
pybinding:
+$(MAKE) -C msspec/spec/fortran pybinding
+$(MAKE) -C msspec/phagen/fortran pybinding
clean:
+$(MAKE) -C msspec/spec/fortran clean
+$(MAKE) -C msspec/phagen/fortran clean
@rm -rf dist
@rm -rf *.egg*