rcore-tutorial/Makefile

10 lines
328 B
Makefile
Raw Normal View History

2021-02-25 20:41:42 +08:00
DOCKER_NAME ?= dinghao188/rcore-tutorial
2021-02-25 20:35:56 +08:00
.PHONY: docker build_docker
docker:
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
build_docker:
2021-02-25 22:36:46 +08:00
docker build -t ${DOCKER_NAME} .
fmt:
cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd ..