properly clean .d files

And also, _only_ clean our own files, not both a hard list of all files,
just the ones we built ourselves
This commit is contained in:
Karl Palsson
2018-06-07 11:42:44 +00:00
parent 37126c5f02
commit 21ce202a07

View File

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