summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-08-17 22:41:26 +0200
committerraysan5 <[email protected]>2020-08-17 22:41:26 +0200
commit090490389e70ce8db5303ff001b8a2110114a740 (patch)
tree1432c048aeb4a6e02ba628d1b6efa9f609ac29bc /src/Makefile
parent921f0c02e25778364036ac017b592df86880dea2 (diff)
downloadraylib-090490389e70ce8db5303ff001b8a2110114a740.tar.gz
raylib-090490389e70ce8db5303ff001b8a2110114a740.zip
Improved Makefile clean on Windows
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
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