python-cli.mk, topdir.mk: Python2 -> $(PYTHON)

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-07-06 14:39:33 +00:00
commit 31d11febd8
2 changed files with 6 additions and 2 deletions

View file

@ -9,7 +9,7 @@ clean:
distclean:
run:
python2 -m $(shell echo $(patsubst %.py,%,$(EXE)) | sed 's%^\./%%; s%/%.%g') $(EXE_ARGS)
$(PYTHON) -m $(shell echo $(patsubst %.py,%,$(EXE)) | sed 's%^\./%%; s%/%.%g') $(EXE_ARGS)
pyc.clean:
find . -name '*.pyc' -print0 | xargs -r -0 $(RM) -f