9 lines
215 B
Makefile
9 lines
215 B
Makefile
|
KERNEL = target/riscv64gc-unknown-none-elf/debug/xv6-riscv-rust
|
||
|
SOURCES := $(shell find -name "*.rs")
|
||
|
|
||
|
$(KERNEL): $(SOURCES)
|
||
|
cargo build
|
||
|
|
||
|
fs.img: mkfs/mkfs README.md $(UPROGS)
|
||
|
mkfs/mkfs fs.img README.md $(UPROGS)
|