aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/Makefile')
-rw-r--r--src/vhdl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vhdl/Makefile b/src/vhdl/Makefile
index df65960a0..62428107d 100644
--- a/src/vhdl/Makefile
+++ b/src/vhdl/Makefile
@@ -27,7 +27,7 @@ DEPS=iirs.ads nodes.ads $(PNODES)
GEN_FILES=iirs.adb nodes_meta.ads nodes_meta.adb \
python/libghdl/iirs.py python/libghdl/nodes_meta.py \
- python/libghdl/std_names.py
+ python/libghdl/std_names.py python/libghdl/tokens.py
all: $(GEN_FILES)
@@ -56,10 +56,15 @@ python/libghdl/nodes_meta.py: $(DEPS) $(PNODESPY)
$(PNODESPY) libghdl-meta > $@
chmod -w $@
-python/libghdl/std_names.py: $(PNODESPY)
+python/libghdl/std_names.py: $(PNODESPY) ../std_names.ads
$(RM) $@
$(PNODESPY) libghdl-names > $@
chmod -w $@
+python/libghdl/tokens.py: $(PNODESPY) tokens.ads
+ $(RM) $@
+ $(PNODESPY) libghdl-tokens > $@
+ chmod -w $@
+
clean:
$(RM) -f $(GEN_FILES)