Add clean target to Makefile

This commit is contained in:
Wesley Moore 2025-02-13 20:32:51 +10:00
parent b256bfd783
commit 9494848392
No known key found for this signature in database

View file

@ -11,6 +11,9 @@ all: calc.elf
check: tests
@tests/unittest
clean:
rm -f *.o tests/*.o *.elf tests/*.elf
hello.elf: hello.o
$(LD) -m elf32lriscv $^ -o $@