]> git.sur5r.net Git - cc65/blobdiff - test/ref/Makefile
Ignore return values only with CMD.EXE MkII.
[cc65] / test / ref / Makefile
index 83b81f9cca1d52ba8e3dabff33e0d8971d9f8afe..09dd96d4425455f290c50a165751835c50d64576 100644 (file)
@@ -7,11 +7,9 @@ ifneq ($(shell echo),)
 endif
 
 ifdef CMD_EXE
-  M := -
   S := $(subst /,\,/)
-  DEL = del /f $(subst /,\,$1)
+  DEL = -del /f $(subst /,\,$1)
 else
-  M :=
   S := /
   DEL = $(RM) $1
 endif
@@ -91,8 +89,8 @@ $(WORKDIR)/%.or.prg: %.c $(WORKDIR)/%.ref
        $(DIFF) $(WORKDIR)/$*.out $(WORKDIR)/$*.ref
 
 clean:
-       $M@$(call DEL,$(TESTS))
-       $M@$(call DEL,$(SOURCES:.c=.o))
-       $M@$(call DEL,$(SOURCES:%.c=$(WORKDIR)/%.out))
-       $M@$(call DEL,$(SOURCES:%.c=$(WORKDIR)/%.ref))
-       $M@$(call DEL,$(SOURCES:%.c=$(WORKDIR)/%.host))
+       @$(call DEL,$(TESTS))
+       @$(call DEL,$(SOURCES:.c=.o))
+       @$(call DEL,$(SOURCES:%.c=$(WORKDIR)/%.out))
+       @$(call DEL,$(SOURCES:%.c=$(WORKDIR)/%.ref))
+       @$(call DEL,$(SOURCES:%.c=$(WORKDIR)/%.host))