Add clean target to Makefile
This commit is contained in:
parent
b256bfd783
commit
9494848392
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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 $@
|
||||
|
||||
|
|
Loading…
Reference in a new issue