]> git.sur5r.net Git - cc65/commitdiff
Made the makefiles' clean target remove the object files from the source directory.
authorGreg King <gregdk@users.sf.net>
Wed, 17 Dec 2014 20:59:29 +0000 (15:59 -0500)
committerGreg King <gregdk@users.sf.net>
Wed, 17 Dec 2014 20:59:29 +0000 (15:59 -0500)
test/err/Makefile
test/misc/Makefile
test/ref/Makefile
test/val/Makefile

index 40ccfcb593bda6bc64141054c8d978deae728246..a6d590515e4d858c47a1d6d1a655ccc55c72cbaf 100644 (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)
index bb9fa404b86ee7983f33c99ccc8bef0811a31809..7af8c0cb17fb3da4d193209d59f7c7615c879d06 100644 (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)
 
 
index b752adc1dec1717e6e2a4552277308ec8e0d341b..39336aa52dd628dfa28473739518c865ebd493bd 100644 (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)
index 2e0aca2781bd48b64555a61d2672419410587789..c9afbbd865a811c24f887ecf216c16876ccbb0ff 100644 (file)
@@ -67,4 +67,4 @@ $(WORKDIR)/%.or.prg: %.c
 
 clean:
        @$(RM) $(TESTS)
-       @$(RM) $(SOURCES:%.c=$(WORKDIR)/%.o)
+       @$(RM) $(SOURCES:.c=.o)