aboutsummaryrefslogtreecommitdiffstats
path: root/Bootloaders
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-15 03:00:29 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-15 03:00:29 +0000
commit6d2f091cec6ef71b65658301630acfb1b615a278 (patch)
treed183c03a14d14a40f8cad9907668723570686335 /Bootloaders
parenta0f9192568b384af605487ae6a043b684016bfff (diff)
downloadlufa-6d2f091cec6ef71b65658301630acfb1b615a278.tar.gz
lufa-6d2f091cec6ef71b65658301630acfb1b615a278.tar.bz2
lufa-6d2f091cec6ef71b65658301630acfb1b615a278.zip
Make project makefiles correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany).
Diffstat (limited to 'Bootloaders')
-rw-r--r--Bootloaders/CDC/makefile4
-rw-r--r--Bootloaders/DFU/makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/Bootloaders/CDC/makefile b/Bootloaders/CDC/makefile
index abc7c82a3..494381e39 100644
--- a/Bootloaders/CDC/makefile
+++ b/Bootloaders/CDC/makefile
@@ -665,8 +665,8 @@ clean_list :
$(REMOVE) $(TARGET).map
$(REMOVE) $(TARGET).sym
$(REMOVE) $(TARGET).lss
- $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o)
- $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst)
+ $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o) $(CPPSRC:%.cpp=$(OBJDIR)/%.o) $(ASRC:%.S=$(OBJDIR)/%.o)
+ $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OBJDIR)/%.lst)
$(REMOVE) $(SRC:.c=.s)
$(REMOVE) $(SRC:.c=.d)
$(REMOVE) $(SRC:.c=.i)
diff --git a/Bootloaders/DFU/makefile b/Bootloaders/DFU/makefile
index f6178b5e5..094328e23 100644
--- a/Bootloaders/DFU/makefile
+++ b/Bootloaders/DFU/makefile
@@ -666,8 +666,8 @@ clean_list :
$(REMOVE) $(TARGET).map
$(REMOVE) $(TARGET).sym
$(REMOVE) $(TARGET).lss
- $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o)
- $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst)
+ $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o) $(CPPSRC:%.cpp=$(OBJDIR)/%.o) $(ASRC:%.S=$(OBJDIR)/%.o)
+ $(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OBJDIR)/%.lst)
$(REMOVE) $(SRC:.c=.s)
$(REMOVE) $(SRC:.c=.d)
$(REMOVE) $(SRC:.c=.i)