diff options
| author | Neil <nyamatongwe@gmail.com> | 2020-04-17 15:29:20 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2020-04-17 15:29:20 +1000 |
| commit | 9e2bd8b981c5d6891b7e0bf9418fd70aceff9602 (patch) | |
| tree | 5c46fd80e54c2fe5bfa1f5e006cfa065850a0811 /lexilla/src/makefile | |
| parent | 8c45e7db05d76de60d214148a69b5ba927b704a1 (diff) | |
| download | scintilla-mirror-9e2bd8b981c5d6891b7e0bf9418fd70aceff9602.tar.gz | |
Making dependencies now requires Python 3.6+.
Diffstat (limited to 'lexilla/src/makefile')
| -rw-r--r-- | lexilla/src/makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lexilla/src/makefile b/lexilla/src/makefile index a8edfc1cb..4560a6d14 100644 --- a/lexilla/src/makefile +++ b/lexilla/src/makefile @@ -55,6 +55,8 @@ endif # 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 @@ -89,7 +91,7 @@ analyze: $(CXX) --analyze $(DEFINES) $(INCLUDES) $(BASE_FLAGS) $(CXXFLAGS) *.cxx ../../lexlib/*.cxx ../../lexers/*.cxx depend deps.mak: - python DepGen.py + $(PYTHON) DepGen.py LEXERS:=$(sort $(notdir $(wildcard ../../lexers/Lex*.cxx))) |
