KERNEL = target/riscv64gc-unknown-none-elf/debug/kernel SOURCES := $(shell find . -name "*.rs") .PHONY: $(KERNEL) $(KERNEL): $(SOURCES) cargo rustc