[Makefile]: add objects to clean target

Some demos will use object files from a different directory and
those files would not be cleaned by the simple CLEAN rule. This
small change insures that those objects and their dependency files
are also cleaned.
This commit is contained in:
Chuck McManis
2016-07-30 11:42:30 -07:00
committed by Karl Palsson
parent bcd7d57c11
commit da679c1775

View File

@@ -201,7 +201,7 @@ endif
clean:
@#printf " CLEAN\n"
$(Q)$(RM) *.o *.d *.elf *.bin *.hex *.srec *.list *.map generated.*
$(Q)$(RM) *.o *.d *.elf *.bin *.hex *.srec *.list *.map generated.* ${OBJS} ${OBJS:%.o:%.d}
stylecheck: $(STYLECHECKFILES:=.stylecheck)
styleclean: $(STYLECHECKFILES:=.styleclean)