1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-03 06:29:36 +00:00

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)

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)

View File

@ -86,7 +86,7 @@ $(WORKDIR)/%.or.prg: %.c $(WORKDIR)/%.ref
clean:
@$(RM) $(TESTS)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.o)
@$(RM) $(SOURCES:.c=.o)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.out)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.ref)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.host)

View File

@ -67,4 +67,4 @@ $(WORKDIR)/%.or.prg: %.c
clean:
@$(RM) $(TESTS)
@$(RM) $(SOURCES:%.c=$(WORKDIR)/%.o)
@$(RM) $(SOURCES:.c=.o)