summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9cc822a1..5a86d371 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ uninstall:
 
 compile: clean
 	@echo 'Compiling...'
-	PYTHONOPTIMIZE=$(PYOPTIMIZE) python -m compileall -q ranger
+	PYTHONOPTIMIZE=$(PYOPTIMIZE) $(PYTHON) -m compileall -q ranger
 
 clean:
 	@echo 'Cleaning...'