DragonOS/kernel/Makefile

14 lines
305 B
Makefile
Raw Normal View History

all:
@if [ -z $$DragonOS_GCC ]; then echo "\033[31m [错误]尚未安装DragonOS交叉编译器, 请使用tools文件夹下的build_gcc_toolchain.sh脚本安装 \033[0m"; exit 1; fi
$(MAKE) -C src all
2022-05-18 10:27:00 +00:00
clean:
rm -f Cargo.lock
$(MAKE) -C src clean
.PHONY: fmt
fmt:
cargo fmt --all $(FMT_CHECK)