ifdef CMD_EXE
EXE := .exe
- RM = del /f $(subst /,\,$1)
+ DEL = del /f $(subst /,\,$1)
MKDIR = mkdir $(subst /,\,$1)
RMDIR = rmdir /s /q $(subst /,\,$1)
else
EXE :=
- RM = $(RM) $1
+ DEL = $(RM) $1
MKDIR = mkdir $1
RMDIR = rmdir $1
endif
@$(MAKE) -C misc clean
clean: mostly-clean
- -@$(call RM,$(WORKDIR)/bdiff$(EXE))
- -$(call RMDIR,$(WORKDIR))
+ -@$(call DEL,$(WORKDIR)/bdiff$(EXE))
+ -@$(call RMDIR,$(WORKDIR))
ifdef CMD_EXE
NOT := - # Hack
- RM = del /f $(subst /,\,$1)
+ DEL = del /f $(subst /,\,$1)
else
NOT := !
- RM = $(RM) $1
+ DEL = $(RM) $1
endif
CC65FLAGS := -t sim6502
$(NOT) $(CL65) -Or $(CC65FLAGS) $< -o $@
clean:
- -@$(call RM,$(TESTS))
- -@$(call RM,$(SOURCES:.c=.o))
+ -@$(call DEL,$(TESTS))
+ -@$(call DEL,$(SOURCES:.c=.o))
ifdef CMD_EXE
S := $(subst /,\,/)
NOT := - # Hack
- RM = del /f $(subst /,\,$1)
+ DEL = del /f $(subst /,\,$1)
else
S := /
NOT := !
- RM = $(RM) $1
+ DEL = $(RM) $1
endif
CC65FLAGS := -t sim6502
# -$(SIM65) $(SIM65FLAGS) $@
clean:
- -@$(call RM,$(TESTS))
- -@$(call RM,$(SOURCES:.c=.o))
- -@$(call RM,$(SOURCES:%.c=$(WORKDIR)/%.out))
+ -@$(call DEL,$(TESTS))
+ -@$(call DEL,$(SOURCES:.c=.o))
+ -@$(call DEL,$(SOURCES:%.c=$(WORKDIR)/%.out))
ifdef CMD_EXE
S := $(subst /,\,/)
- RM = del /f $(subst /,\,$1)
+ DEL = del /f $(subst /,\,$1)
else
S := /
- RM = $(RM) $1
+ DEL = $(RM) $1
endif
CC65FLAGS := -t sim6502
$(DIFF) $(WORKDIR)/$*.out $(WORKDIR)/$*.ref
clean:
- -@$(call RM,$(TESTS))
- -@$(call RM,$(SOURCES:.c=.o))
- -@$(call RM,$(SOURCES:%.c=$(WORKDIR)/%.out))
- -@$(call RM,$(SOURCES:%.c=$(WORKDIR)/%.ref))
- -@$(call RM,$(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))
endif
ifdef CMD_EXE
- RM = del /f $(subst /,\,$1)
+ DEL = del /f $(subst /,\,$1)
else
- RM = $(RM) $1
+ DEL = $(RM) $1
endif
CC65FLAGS := -t sim6502
$(SIM65) $(SIM65FLAGS) $@
clean:
- -@$(call RM,$(TESTS))
- -@$(call RM,$(SOURCES:.c=.o))
+ -@$(call DEL,$(TESTS))
+ -@$(call DEL,$(SOURCES:.c=.o))