Improved Makefile clean on Windows

This commit is contained in:
raysan5 2020-08-17 22:41:26 +02:00
parent 921f0c02e2
commit 090490389e

View File

@ -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