diff options
author | Sean Cross <sean@xobs.io> | 2019-10-22 14:01:27 +0800 |
---|---|---|
committer | Sean Cross <sean@xobs.io> | 2019-10-22 14:09:15 +0800 |
commit | 5280eae093da81937e0850345edd9f478903ac29 (patch) | |
tree | 23dc77bd2ee568687b95586244e6c9cf394a030b /icebox | |
parent | 80b929a5d7a2581c4284f8f2226f2d8de3098551 (diff) | |
download | icestorm-5280eae093da81937e0850345edd9f478903ac29.tar.gz icestorm-5280eae093da81937e0850345edd9f478903ac29.tar.bz2 icestorm-5280eae093da81937e0850345edd9f478903ac29.zip |
icebox: use $(PYTHON) variable in Makefile
Allow `python` to be provided by an interpreter other than `python3`.
Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'icebox')
-rw-r--r-- | icebox/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/icebox/Makefile b/icebox/Makefile index 6906681..5088f46 100644 --- a/icebox/Makefile +++ b/icebox/Makefile @@ -3,33 +3,33 @@ include ../config.mk all: chipdb-384.txt chipdb-1k.txt chipdb-8k.txt chipdb-5k.txt chipdb-lm4k.txt chipdb-u4k.txt chipdb-384.txt: icebox.py iceboxdb.py icebox_chipdb.py - python3 icebox_chipdb.py -3 > chipdb-384.new + $(PYTHON) icebox_chipdb.py -3 > chipdb-384.new mv chipdb-384.new chipdb-384.txt chipdb-1k.txt: icebox.py iceboxdb.py icebox_chipdb.py - python3 icebox_chipdb.py > chipdb-1k.new + $(PYTHON) icebox_chipdb.py > chipdb-1k.new mv chipdb-1k.new chipdb-1k.txt chipdb-5k.txt: icebox.py iceboxdb.py icebox_chipdb.py - python3 icebox_chipdb.py -5 > chipdb-5k.new + $(PYTHON) icebox_chipdb.py -5 > chipdb-5k.new mv chipdb-5k.new chipdb-5k.txt chipdb-u4k.txt: icebox.py iceboxdb.py icebox_chipdb.py - python3 icebox_chipdb.py -u > chipdb-u4k.new + $(PYTHON) icebox_chipdb.py -u > chipdb-u4k.new mv chipdb-u4k.new chipdb-u4k.txt chipdb-lm4k.txt: icebox.py iceboxdb.py icebox_chipdb.py - python3 icebox_chipdb.py -4 > chipdb-lm4k.new + $(PYTHON) icebox_chipdb.py -4 > chipdb-lm4k.new mv chipdb-lm4k.new chipdb-lm4k.txt chipdb-8k.txt: icebox.py iceboxdb.py icebox_chipdb.py - python3 icebox_chipdb.py -8 > chipdb-8k.new + $(PYTHON) icebox_chipdb.py -8 > chipdb-8k.new mv chipdb-8k.new chipdb-8k.txt check: all - python3 tc_xlat_netnames.py - python3 tc_rxlat_netnames.py - python3 tc_logic_xpr.py + $(PYTHON) tc_xlat_netnames.py + $(PYTHON) tc_rxlat_netnames.py + $(PYTHON) tc_logic_xpr.py clean: rm -f chipdb-1k.txt chipdb-8k.txt chipdb-384.txt chipdb-5k.txt chipdb-lm4k.txt chipdb-u4k.txt |