19 lines
392 B
Makefile
19 lines
392 B
Makefile
|
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*
|
||
|
|