rCore-Tutorial-v3/Makefile

11 lines
283 B
Makefile
Raw Permalink Normal View History

DOCKER_TAG ?= rcore-tutorial-v3:latest
2021-02-28 15:20:21 +04:00
.PHONY: docker build_docker
docker:
docker run --rm -it -v ${PWD}:/mnt -w /mnt --name rcore-tutorial-v3 ${DOCKER_TAG} bash
2021-02-28 15:20:21 +04:00
build_docker:
docker build -t ${DOCKER_TAG} --target build .
fmt:
cd os ; cargo fmt; cd ../user; cargo fmt; cd ..