diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-06-19 20:47:29 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-06-19 20:47:29 -0700 |
commit | 8b7d325b53667ff123531325a410f40e5dd0373a (patch) | |
tree | c8137f0c592b898f673ce4cd0082eda2bb99e72d /Makefile | |
parent | 6285e3f41483c4e724cc0dcef2eb5239c34d03a8 (diff) | |
download | riscv-opcodes-8b7d325b53667ff123531325a410f40e5dd0373a.zip riscv-opcodes-8b7d325b53667ff123531325a410f40e5dd0373a.tar.gz riscv-opcodes-8b7d325b53667ff123531325a410f40e5dd0373a.tar.bz2 |
temporary undoing of renaming
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..4cb4597 --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +ISASIM_H := ../riscv-isa-run/riscv/opcodes.h +PK_H := ../riscv-pk/pk/riscv-opc.h +XCC_H := ../riscv-gcc/src/include/opcode/mips-riscv-opc.h + +install: $(ISASIM_H) $(PK_H) $(XCC_H) inst.v instr-table.tex + +$(ISASIM_H): opcodes parse-opcodes + ./parse-opcodes -isasim < $< > $@ + +$(PK_H): opcodes parse-opcodes + ./parse-opcodes -disasm < $< > $@ + +$(XCC_H): opcodes parse-opcodes + ./parse-opcodes -disasm < $< > $@ + +inst.v: opcodes parse-opcodes + ./parse-opcodes -verilog < $< > $@ + +instr-table.tex: opcodes parse-opcodes + ./parse-opcodes -tex < $< > $@ + +.PHONY : install |