rCore-Tutorial-v3/Makefile

13 lines
341 B
Makefile
Raw Normal View History

DOCKER_TAG ?= rcore-tutorial-v3:latest
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:
docker run --rm -it -v ${PWD}:/mnt -w /mnt --name rcore-tutorial-v3 ${DOCKER_TAG} bash
2021-02-28 02:33:45 +04:00
build_docker:
docker build -t ${DOCKER_TAG} --target build .
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 ..