Makefile: Cleanup whole obj/ dir when clean
This commit is contained in:
parent
bd82f55966
commit
90da880386
@ -110,6 +110,8 @@ mrproper: clean
|
||||
clean:
|
||||
@echo "Cleaning up derived files..."
|
||||
$(QUIET)rm -f $(target).elf $(target).bin $(target).hex $(OBJ) $(ASOBJ) $(mapfile).map $(CFILES:%.c=$(OBJDIR)/%.c.d) $(ASFILES:%.S=$(OBJDIR)/%.S.d)
|
||||
$(QUIET)rm -rf $(OBJDIR)/*
|
||||
|
||||
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