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*
|
|
|
|
|
2019-11-20 18:14:00 +01:00
|
|
|
purge: clean
|
|
|
|
+$(MAKE) -C msspec/spec/fortran purge
|
|
|
|
+$(MAKE) -C msspec/phagen/fortran purge
|
|
|
|
|