Makefile
changeset 45821 c2837640aeb0
parent 45609 e604a3c03ab9
child 45833 be6544a05e8f
--- a/Makefile	Tue Nov 03 20:28:23 2020 -0800
+++ b/Makefile	Mon Oct 05 19:46:31 2020 -0700
@@ -5,7 +5,16 @@
 # % make PREFIX=/opt/ install
 
 export PREFIX=/usr/local
+
+# Default to Python 3.
+#
+# Windows ships Python 3 as `python.exe`.
+ifeq ($(OS),Windows_NT)
 PYTHON?=python
+else
+PYTHON?=python3
+endif
+
 $(eval HGROOT := $(shell pwd))
 HGPYTHONS ?= $(HGROOT)/build/pythons
 PURE=