diff --git a/reactos/tools/Makefile b/reactos/tools/Makefile index 77ebc63c5a2..d72f90957b8 100644 --- a/reactos/tools/Makefile +++ b/reactos/tools/Makefile @@ -62,8 +62,8 @@ clean: endif ifeq ($(HOST),mingw32-windows) clean: - del $(TOOLS) - del mkconfig$(EXE_POSTFIX) + $(PATH_TO_TOP)/rdel $(TOOLS) + $(PATH_TO_TOP)/rdel mkconfig$(EXE_POSTFIX) make -C wmc clean endif diff --git a/reactos/tools/wmc/makefile b/reactos/tools/wmc/makefile index 5de3fa87959..98509e477b6 100644 --- a/reactos/tools/wmc/makefile +++ b/reactos/tools/wmc/makefile @@ -47,8 +47,8 @@ clean: endif ifeq ($(HOST),mingw32-windows) clean: - del *.o - del wmc$(EXE_POSTFIX) + $(PATH_TO_TOP)/rdel *.o + $(PATH_TO_TOP)/rdel wmc$(EXE_POSTFIX) endif .phony: clean