Skip to content

Commit

Permalink
adding backward compatible makefile targets
Browse files Browse the repository at this point in the history
  • Loading branch information
neelgala committed May 2, 2022
1 parent c02c999 commit 314d83d
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 314d83d

Please sign in to comment.