chisel-playground/Makefile

32 lines
531 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
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