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

@@ -59,7 +59,7 @@ $(WORKDIR)/sitest%prg: sitest.c
clean:
@$(RM) $(TESTS)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.o)
@$(RM) $(SOURCES:.c=.o)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.out)