Separate distclean and clean, link target
This commit is contained in:
parent
f7040d4300
commit
32c54d892f
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -73,9 +73,15 @@ flash: $(TARGET).bin
|
|||
flash2: $(TARGET).bin
|
||||
wlink flash $(TARGET).bin
|
||||
|
||||
link:
|
||||
minichlink -T
|
||||
|
||||
clean:
|
||||
rm -f *.{hex,bin,map,lst,elf}
|
||||
|
||||
distclean:
|
||||
rm -f ch32*.[ch]
|
||||
rm -f *.{ld,hex,bin,map,lst,elf,a}
|
||||
|
||||
.PHONY: clean flash deps default
|
||||
.PHONY: clean flash deps default distclean link
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue