From 090490389e70ce8db5303ff001b8a2110114a740 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Mon, 17 Aug 2020 22:41:26 +0200 Subject: [PATCH] Improved Makefile clean on Windows --- src/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index ce7bafb2..8004a5f5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -641,7 +641,11 @@ endif # Clean everything clean: ifeq ($(PLATFORM_OS),WINDOWS) - del *.o $(RAYLIB_RELEASE_PATH)/libraylib.a $(RAYLIB_RELEASE_PATH)/libraylib.bc $(RAYLIB_RELEASE_PATH)/libraylib.so + del *.o /s + cd $(RAYLIB_RELEASE_PATH) + del libraylib.a /s + del libraylibdll.a /s + del raylib.dll /s else rm -fv *.o $(RAYLIB_RELEASE_PATH)/libraylib.a $(RAYLIB_RELEASE_PATH)/libraylib.bc $(RAYLIB_RELEASE_PATH)/libraylib.so* endif