From 4ba19625e252b7a58a6a185e257a34e5644448da Mon Sep 17 00:00:00 2001 From: CrackedPixel <5776225+CrackedPixel@users.noreply.github.com> Date: Fri, 20 Feb 2026 18:50:03 -0600 Subject: [PATCH] change clean command --- examples/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index 40906ebfc..3124add37 100644 --- a/examples/Makefile +++ b/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))