diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-09-15 03:00:29 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-09-15 03:00:29 +0000 |
| commit | ea4c4aa8e556135b544998b98dce14cb01ab5458 (patch) | |
| tree | d183c03a14d14a40f8cad9907668723570686335 /LUFA/CodeTemplates/makefile_template | |
| parent | 35a484f246592e03e1d8b7e480901e9eb21fc365 (diff) | |
Make project makefiles correctly clean intermeditary build files from assembly and C++ sources (thanks to Daniel Czigany).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1482 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'LUFA/CodeTemplates/makefile_template')
| -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 71afa9f7..a1176a42 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)
|
