diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-15 03:00:29 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-09-15 03:00:29 +0000 |
commit | 6d2f091cec6ef71b65658301630acfb1b615a278 (patch) | |
tree | d183c03a14d14a40f8cad9907668723570686335 /LUFA/CodeTemplates | |
parent | a0f9192568b384af605487ae6a043b684016bfff (diff) | |
download | lufa-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 'LUFA/CodeTemplates')
-rw-r--r-- | LUFA/CodeTemplates/makefile_template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/CodeTemplates/makefile_template b/LUFA/CodeTemplates/makefile_template index 71afa9f7d..a1176a428 100644 --- a/LUFA/CodeTemplates/makefile_template +++ b/LUFA/CodeTemplates/makefile_template @@ -677,8 +677,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)
|