diff --git a/Makefile b/Makefile index 52bf787..bf9fa22 100644 --- a/Makefile +++ b/Makefile @@ -32,14 +32,14 @@ distclean: clean clean-libuv compile: check-env clean echo "DEF DEBUG = 0" > uvloop/__debug.pxi - cython -3 uvloop/loop.pyx; rm uvloop/__debug.* + $(PYTHON) -m cython -3 uvloop/loop.pyx; rm uvloop/__debug.* @echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON) $(PYTHON) setup.py build_ext --inplace debug: check-env clean echo "DEF DEBUG = 1" > uvloop/__debug.pxi - cython -3 -a -p uvloop/loop.pyx; rm uvloop/__debug.* + $(PYTHON) -m cython -3 -a -p uvloop/loop.pyx; rm uvloop/__debug.* @echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON) $(PYTHON) setup.py build_ext --inplace