chisel-playground/Makefile

38 lines
606 B
Makefile

BUILD_DIR = ./build
PRJ = playground
test:
mill -i $(PRJ).test
verilog:
$(call git_commit, "generate verilog")
mkdir -p $(BUILD_DIR)
mill -i $(PRJ).runMain Elaborate --target-dir $(BUILD_DIR)
help:
mill -i $(PRJ).runMain Elaborate --help
reformat:
mill -i __.reformat
checkformat:
mill -i __.checkFormat
bsp:
mill -i mill.bsp.BSP/install
idea:
mill -i mill.idea.GenIdea/idea
clean:
-rm -rf $(BUILD_DIR)
.PHONY: test verilog help reformat checkformat clean
sim:
$(call git_commit, "sim RTL") # DO NOT REMOVE THIS LINE!!!
@echo "Write this Makefile by yourself."
-include ../Makefile