rCore-Tutorial-v3/Makefile

10 lines
250 B
Makefile
Raw Normal View History

2021-02-28 01:59:36 +04:00
DOCKER_NAME ?= dinghao188/rcore-tutorial
.PHONY: docker build_docker
docker:
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
build_docker:
docker build -t ${DOCKER_NAME} .
fmt:
cd os ; cargo fmt; cd ..