rCore-Tutorial-v3/Makefile

13 lines
297 B
Makefile
Raw Normal View History

2022-10-01 18:19:36 +04:00
DOCKER_NAME ?= rcore-tutorial-v3
2021-02-28 02:33:45 +04:00
.PHONY: docker build_docker
2022-10-01 18:19:36 +04:00
2021-02-28 02:33:45 +04:00
docker:
2022-10-01 18:19:36 +04:00
docker run --rm -it -v ${PWD}:/mnt -w /mnt ${DOCKER_NAME} bash
2021-02-28 02:33:45 +04:00
build_docker:
docker build -t ${DOCKER_NAME} .
2022-10-01 18:19:36 +04:00
fmt:
2022-10-01 18:19:36 +04:00
cd easy-fs; cargo fmt; cd ../easy-fs-fuse cargo fmt; cd ../os ; cargo fmt; cd ../user; cargo fmt; cd ..