aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNeel Gala <neelgala@incoresemi.com>2022-05-02 18:16:11 +0530
committerNeel Gala <neelgala@incoresemi.com>2022-05-02 18:16:11 +0530
commit314d83dc5a96e1091d897e67e09e0ca25aa72a1a (patch)
treee9ab665d37826da1e598de4f9dabeb2dd522916a /Makefile
parentc02c9999ec16a45ed49d64b1c259c202dcc3254e (diff)
downloadriscv-opcodes-314d83dc5a96e1091d897e67e09e0ca25aa72a1a.zip
riscv-opcodes-314d83dc5a96e1091d897e67e09e0ca25aa72a1a.tar.gz
riscv-opcodes-314d83dc5a96e1091d897e67e09e0ca25aa72a1a.tar.bz2
adding backward compatible makefile targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 16 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 828916f..b8cd4db 100644
--- a/Makefile
+++ b/Makefile
@@ -7,28 +7,31 @@ INSTALL_HEADER_FILES := $(ISASIM_H) $(PK_H) $(ENV_H) $(OPENOCD_H)
default: everything
+install: everything
+ set -e; for FILE in $(INSTALL_HEADER_FILES); do cp -f encoding.out.h $$FILE; done
+
.PHONY : everything
everything:
@./parse.py -c -chisel -sverilog -rust -latex $(EXTENSIONS)
-.PHONY : c
-c:
+.PHONY : encoding.out.h
+encoding.out.h:
@./parse.py -c $(EXTENSIONS)
-.PHONY : chisel
-chisel:
+.PHONY : inst.chisel
+inst.chisel:
@./parse.py -chisel $(EXTENSIONS)
.PHONY : latex
latex:
@./parse.py -latex $(EXTENSIONS)
-.PHONY : sverilog
-sverilog:
+.PHONY : inst.sverilog
+inst.sverilog:
@./parse.py -sverilog $(EXTENSIONS)
-.PHONY : rust
-rust:
+.PHONY : inst.rs
+inst.rs:
@./parse.py -rust $(EXTENSIONS)
.PHONY : clean
@@ -39,3 +42,8 @@ clean:
install: c
set -e; for FILE in $(INSTALL_HEADER_FILES); do cp -f encoding.out.h $$FILE; done
+.PHONY: instr-table.tex
+instr-table.tex: latex
+
+.PHONY: priv-instr-table.tex
+priv-instr-table.tex: latex