diff options
Diffstat (limited to 'src/vhdl/Makefile')
-rw-r--r-- | src/vhdl/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vhdl/Makefile b/src/vhdl/Makefile index 3fadbeacc..e4a7c91d5 100644 --- a/src/vhdl/Makefile +++ b/src/vhdl/Makefile @@ -29,7 +29,7 @@ GEN_FILES=iirs.adb nodes_meta.ads nodes_meta.adb \ elocations.adb elocations_meta.ads elocations_meta.adb \ python/libghdl/iirs.py python/libghdl/nodes_meta.py \ python/libghdl/std_names.py python/libghdl/tokens.py \ - python/libghdl/elocations.py + python/libghdl/elocations.py python/libghdl/errorout.py ELOCATIONS_FLAGS=--node-file=elocations.ads --field-file=elocations.adb.in \ --template-file=elocations.adb.in --meta-basename=elocations_meta @@ -91,5 +91,10 @@ python/libghdl/elocations.py: $(PNODESPY) elocations.ads $(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-elocs > $@ chmod -w $@ +python/libghdl/errorout.py: $(PNODESPY) errorout.ads + $(RM) $@ + $(PNODESPY) $(ELOCATIONS_FLAGS) libghdl-errorout > $@ + chmod -w $@ + clean: $(RM) -f $(GEN_FILES) |