Made the makefiles' clean target remove the object files from the source directory.

This commit is contained in:
Greg King
2014-12-17 15:59:29 -05:00
parent b9c1087cc2
commit ad56b6abe9
4 changed files with 4 additions and 4 deletions

View File

@@ -49,4 +49,4 @@ $(WORKDIR)/%.or.prg: %.c
! $(CL65) -Or $(CC65FLAGS) $< -o $@
clean:
@$(RM) $(TESTS)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.o)
@$(RM) $(SOURCES:.c=.o)