summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 529cf38..65f5cf6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
ISASIM_H := ../riscv-isa-sim/riscv/opcodes.h
PK_H := ../riscv-pk/pk/riscv-opc.h
-XCC_H := ../riscv-gcc/binutils-2.21.1/include/opcode/riscv-opc.h
+GAS_H := ../riscv-gcc/binutils-2.21.1/include/opcode/riscv-opc.h
+XCC_H := ../riscv-gcc/gcc-4.6.1/gcc/config/riscv/riscv-opc.h
-install: $(ISASIM_H) $(PK_H) $(XCC_H) inst.v instr-table.tex
+install: $(ISASIM_H) $(PK_H) $(GAS_H) $(XCC_H) inst.v instr-table.tex
$(ISASIM_H): opcodes parse-opcodes
./parse-opcodes -isasim < $< > $@
@@ -10,6 +11,9 @@ $(ISASIM_H): opcodes parse-opcodes
$(PK_H): opcodes parse-opcodes
./parse-opcodes -disasm < $< > $@
+$(GAS_H): opcodes parse-opcodes
+ ./parse-opcodes -disasm < $< > $@
+
$(XCC_H): opcodes parse-opcodes
./parse-opcodes -disasm < $< > $@