Browse Source

Improved Makefile clean on Windows

pull/1357/head
raysan5 5 years ago
parent
commit
090490389e
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/Makefile

+ 5
- 1
src/Makefile View File

@ -641,7 +641,11 @@ endif
# Clean everything # Clean everything
clean: clean:
ifeq ($(PLATFORM_OS),WINDOWS) 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 else
rm -fv *.o $(RAYLIB_RELEASE_PATH)/libraylib.a $(RAYLIB_RELEASE_PATH)/libraylib.bc $(RAYLIB_RELEASE_PATH)/libraylib.so* rm -fv *.o $(RAYLIB_RELEASE_PATH)/libraylib.a $(RAYLIB_RELEASE_PATH)/libraylib.bc $(RAYLIB_RELEASE_PATH)/libraylib.so*
endif endif

Loading…
Cancel
Save