aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/Makefile
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-10-06 20:53:15 +0200
committerTristan Gingold <tgingold@free.fr>2017-10-06 20:53:15 +0200
commite00401d23ea9e9e2866ae18889aa0956aaf9ec86 (patch)
tree1e6bb2f3355585ed5d706d1d387edba5dcb71778 /src/vhdl/Makefile
parent09733cedabdaef6c1adba4473ce4abd863defa89 (diff)
downloadghdl-e00401d23ea9e9e2866ae18889aa0956aaf9ec86.tar.gz
ghdl-e00401d23ea9e9e2866ae18889aa0956aaf9ec86.tar.bz2
ghdl-e00401d23ea9e9e2866ae18889aa0956aaf9ec86.zip
python: generate tokens.py
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)