Просмотр исходного кода

change clean command

pull/5576/head
CrackedPixel 2 дней назад
Родитель
Сommit
4ba19625e2
1 измененных файлов: 4 добавлений и 4 удалений
  1. +4
    -4
      examples/Makefile

+ 4
- 4
examples/Makefile Просмотреть файл

@ -766,20 +766,20 @@ ifeq ($(TARGET_PLATFORM),PLATFORM_DESKTOP_GLFW)
del *.o *.exe /s
endif
ifeq ($(PLATFORM_OS),BSD)
find . -type f -perm -ugo+x -delete
find . -type f -executable -exec file {} + 2>/dev/null | grep 'executable' | cut -d: -f1 | xargs -r rm
rm -fv *.o
endif
ifeq ($(PLATFORM_OS),LINUX)
find . -type f -executable -delete
find . -type f -executable -exec file {} + 2>/dev/null | grep 'executable' | cut -d: -f1 | xargs -r rm
rm -fv *.o
endif
ifeq ($(PLATFORM_OS),OSX)
find . -type f -perm +ugo+x -delete
find . -type f -executable -exec file {} + 2>/dev/null | grep 'executable' | cut -d: -f1 | xargs -r rm
rm -f *.o
endif
endif
ifeq ($(TARGET_PLATFORM),PLATFORM_DRM)
find . -type f -executable -delete
find . -type f -executable -exec file {} + 2>/dev/null | grep 'executable' | cut -d: -f1 | xargs -r rm
rm -fv *.o
endif
ifeq ($(TARGET_PLATFORM),$(filter $(TARGET_PLATFORM),PLATFORM_WEB PLATFORM_WEB_RGFW))

Загрузка…
Отмена
Сохранить