rCore-Tutorial-v3/Makefile
2022-10-01 20:23:53 +08:00

13 lines
219 B
Makefile

DOCKER_NAME ?= rcore-tutorial-v3
.PHONY: docker build_docker
docker:
docker run --rm -it -v ${PWD}:/mnt -w /mnt ${DOCKER_NAME} bash
build_docker:
docker build -t ${DOCKER_NAME} .
fmt:
cd os ; cargo fmt; cd ..