aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2019-10-22 14:06:42 +0800
committerSean Cross <sean@xobs.io>2019-10-22 14:09:18 +0800
commitbc84cef2b1dbb39420c8d4bd9cafc183e3b170ff (patch)
tree111620ec9caaeef7b003997353c5422abb82403f
parent7597e5e3fa45cb98cd99d5bbfde8c580d9c7b844 (diff)
downloadicestorm-bc84cef2b1dbb39420c8d4bd9cafc183e3b170ff.tar.gz
icestorm-bc84cef2b1dbb39420c8d4bd9cafc183e3b170ff.tar.bz2
icestorm-bc84cef2b1dbb39420c8d4bd9cafc183e3b170ff.zip
icetime: use $(PYTHON) in Makefile
Allow the name of the Python interpreter to be changed. Signed-off-by: Sean Cross <sean@xobs.io>
-rw-r--r--icetime/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/icetime/Makefile b/icetime/Makefile
index 38e2fe6..acf5b8f 100644
--- a/icetime/Makefile
+++ b/icetime/Makefile
@@ -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