Add dependency files to clean target

This commit is contained in:
Mario Hüttel 2020-02-12 21:06:28 +01:00
parent f04a5c7930
commit e4770698e2
1 changed files with 3 additions and 3 deletions

View File

@ -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