소스 검색

Improved Makefile clean on Windows

raysan5 5 년 전
부모
커밋
090490389e
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/Makefile

+ 5 - 1
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