mirror of
https://github.com/rcore-os/rCore-Tutorial-v3.git
synced 2025-01-19 13:37:12 +04:00
19 lines
371 B
Makefile
19 lines
371 B
Makefile
DOCKER_NAME ?= dinghao188/rcore-tutorial
|
|
.PHONY: docker build_docker
|
|
all:
|
|
make -C usr user_img
|
|
make -C os build
|
|
run:
|
|
make -C usr user_img
|
|
make -C os run
|
|
clean:
|
|
make -C usr clean
|
|
make -C os clean
|
|
env:
|
|
make -C os env
|
|
|
|
docker:
|
|
docker run --rm -it --mount type=bind,source=$(shell pwd),destination=/mnt ${DOCKER_NAME}
|
|
|
|
build_docker:
|
|
docker build -t ${DOCKER_NAME} .
|