rCore-Tutorial-v3/Makefile

13 lines
219 B
Makefile
Raw Normal View History

2022-10-01 16:22:19 +04:00
DOCKER_NAME ?= rcore-tutorial-v3
2021-02-28 02:32:04 +04:00
.PHONY: docker build_docker
2022-10-01 16:22:19 +04:00
2021-02-28 02:32:04 +04:00
docker:
2022-10-01 16:22:19 +04:00
docker run --rm -it -v ${PWD}:/mnt -w /mnt ${DOCKER_NAME} bash
2021-02-28 02:32:04 +04:00
build_docker:
docker build -t ${DOCKER_NAME} .
2022-10-01 16:22:19 +04:00
fmt:
2022-10-01 16:22:19 +04:00
cd os ; cargo fmt; cd ..