c-kzg-4844/bindings/python/Makefile

14 lines
218 B
Makefile

.PHONY: all
all: install test
../../src/c_kzg_4844.o:
make -C../../src c_kzg_4844.o
.PHONY: install
install: setup.py ckzg.c ../../src/c_kzg_4844.o
python3 setup.py install
.PHONY: test
test: tests.py
python3 $<