diff options
author | Andrew Waterman <andrew@sifive.com> | 2024-10-10 14:12:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 14:12:32 -0700 |
commit | 581ad6f8bd9e59c7c4e03e0f9e0526009e5c7983 (patch) | |
tree | 1811893ddfda1b65593b42bea38fe90c91ba690a /Makefile | |
parent | dcbdd96e74fc2de292aad63a83cf4815ff18cd58 (diff) | |
parent | b6bed516af341b107859f9af5d7122c06930dc49 (diff) | |
download | riscv-opcodes-581ad6f8bd9e59c7c4e03e0f9e0526009e5c7983.zip riscv-opcodes-581ad6f8bd9e59c7c4e03e0f9e0526009e5c7983.tar.gz riscv-opcodes-581ad6f8bd9e59c7c4e03e0f9e0526009e5c7983.tar.bz2 |
Merge pull request #266 from IIITM-Jay/makefile-refactor
Enhancement and Optimization:: Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
@@ -7,48 +7,41 @@ INSTALL_HEADER_FILES := $(ISASIM_H) $(PK_H) $(ENV_H) $(OPENOCD_H) default: everything -.PHONY : everything +.PHONY: everything encoding.out.h inst.chisel inst.go latex inst.sverilog inst.rs clean install instr-table.tex priv-instr-table.tex inst.spinalhdl + everything: @./parse.py -c -go -chisel -sverilog -rust -latex -spinalhdl $(EXTENSIONS) -.PHONY : encoding.out.h encoding.out.h: @./parse.py -c rv* unratified/rv_* unratified/rv32* unratified/rv64* -.PHONY : inst.chisel inst.chisel: @./parse.py -chisel $(EXTENSIONS) -.PHONY : inst.go inst.go: @./parse.py -go $(EXTENSIONS) -.PHONY : latex latex: @./parse.py -latex $(EXTENSIONS) -.PHONY : inst.sverilog inst.sverilog: @./parse.py -sverilog $(EXTENSIONS) -.PHONY : inst.rs inst.rs: @./parse.py -rust $(EXTENSIONS) -.PHONY : clean clean: rm -f inst* priv-instr-table.tex encoding.out.h -.PHONY : install install: everything - set -e; for FILE in $(INSTALL_HEADER_FILES); do cp -f encoding.out.h $$FILE; done + 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 -.PHONY: inst.spinalhdl inst.spinalhdl: @./parse.py -spinalhdl $(EXTENSIONS) |