aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/vhdl/Makefile b/src/vhdl/Makefile
index 364708efe..a76cb68de 100644
--- a/src/vhdl/Makefile
+++ b/src/vhdl/Makefile
@@ -20,6 +20,7 @@
PNODES=../../scripts/pnodes.py
PNODESPY=../../scripts/pnodespy.py
+PYTHON=python
DEPS=vhdl-nodes.ads vhdl-nodes.adb.in $(PNODES)
@@ -79,37 +80,37 @@ vhdl-elocations_meta.adb: vhdl-elocations_meta.adb.in vhdl-elocations.ads $(DEPS
../../pyGHDL/libghdl/vhdl/nodes.py: $(DEPS) $(PNODESPY)
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-nodes > $@
- python -m black $@
+ $(PYTHON) -m black $@
chmod -w $@
../../pyGHDL/libghdl/vhdl/nodes_meta.py: $(DEPS) $(PNODESPY)
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-meta > $@
- python -m black $@
+ $(PYTHON) -m black $@
chmod -w $@
../../pyGHDL/libghdl/std_names.py: $(PNODESPY) ../std_names.ads
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-names > $@
- python -m black $@
+ $(PYTHON) -m black $@
chmod -w $@
../../pyGHDL/libghdl/vhdl/tokens.py: $(PNODESPY) vhdl-tokens.ads
$(RM) $@
$(PNODESPY) $(NODES_FLAGS) libghdl-tokens > $@
- python -m black $@
+ $(PYTHON) -m black $@
chmod -w $@
../../pyGHDL/libghdl/vhdl/elocations.py: $(PNODESPY) vhdl-elocations.ads
$(RM) $@
$(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-elocs > $@
- python -m black $@
+ $(PYTHON) -m black $@
chmod -w $@
../../pyGHDL/libghdl/errorout.py: $(PNODESPY) ../errorout.ads
$(RM) $@
$(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-errorout > $@
- python -m black $@
+ $(PYTHON) -m black $@
chmod -w $@
clean: