Add dependency files to clean target
This commit is contained in:
parent
f04a5c7930
commit
e4770698e2
@ -33,9 +33,9 @@ INCLUDEPATH += -Ishellmatta/api
|
||||
# DEFINES += -DSHELLMATTA_STRIP_PRINTF
|
||||
|
||||
# RCC Manager
|
||||
CFILES += clock-enable-manager.c
|
||||
CFILES += stm-periph/clock-enable-manager.c
|
||||
|
||||
CFILES += uart/uart.c uart/dma-ring-buffer.c
|
||||
CFILES += stm-periph/uart.c stm-periph/dma-ring-buffer.c
|
||||
|
||||
CFILES += digio.c
|
||||
|
||||
@ -98,7 +98,7 @@ mrproper: clean
|
||||
rm -f $(target).pro
|
||||
|
||||
clean:
|
||||
rm -f $(target).elf $(target).bin $(target).hex $(OBJ) $(ASOBJ) $(mapfile).map
|
||||
rm -f $(target).elf $(target).bin $(target).hex $(OBJ) $(ASOBJ) $(mapfile).map $(CFILES:%.c=$(OBJDIR)/%.c.d) $(ASFILES:%.S=$(OBJDIR)/%.S.d)
|
||||
qtproject:
|
||||
echo -e "TEMPLATE = app\nCONFIG -= console app_bundle qt" > $(target).pro
|
||||
echo -e "SOURCES += $(CFILES) $(ASFILES)" >> $(target).pro
|
||||
|
Loading…
Reference in New Issue
Block a user