icetime: use $(PYTHON) in Makefile

Allow the name of the Python interpreter to be changed.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-10-22 14:06:42 +08:00
parent 7597e5e3fa
commit bc84cef2b1
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ icetime$(EXE): icetime.o iceutil.o $(addsuffix .o, $(addprefix timings-, $(CHIPS
$(CXX) -o $@ $(LDFLAGS) $^ $(LDLIBS)
timings-%.cc: timings.py ../icefuzz/timings_%.txt
python3 timings.py $* > $@
$(PYTHON) timings.py $* > $@
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin