From 9e2bd8b981c5d6891b7e0bf9418fd70aceff9602 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 17 Apr 2020 15:29:20 +1000 Subject: Making dependencies now requires Python 3.6+. --- win32/makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'win32/makefile') diff --git a/win32/makefile b/win32/makefile index 2442ca65e..8b17cbcc8 100644 --- a/win32/makefile +++ b/win32/makefile @@ -34,6 +34,8 @@ WINDRES ?= windres # Take care of changing Unix style '/' directory separator to '\' on Windows normalize = $(if $(windir),$(subst /,\,$1),$1) +PYTHON = $(if $(windir),pyw,python3) + ifdef windir DEL = $(if $(wildcard $(dir $(SHELL))rm.exe), $(dir $(SHELL))rm.exe -f, del /q) else @@ -76,7 +78,7 @@ analyze: $(CXX) --analyze $(CXX_ALL_FLAGS) $(CXXFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx depend deps.mak: - python DepGen.py + $(PYTHON) DepGen.py LEX_OBJS:=$(addsuffix .o,$(basename $(sort $(notdir $(wildcard ../lexers/Lex*.cxx))))) -- cgit v1.2.3