diff --git a/examples/Makefile b/examples/Makefile index 9be9dd56..dd92c625 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -503,7 +503,8 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP) del *.o *.exe /s endif ifeq ($(PLATFORM_OS),LINUX) - find -type f -executable | xargs file -i | grep -E 'x-object|x-archive|x-sharedlib|x-executable|x-pie-executable' | rev | cut -d ':' -f 2- | rev | xargs rm -fv + find . -type f -executable -delete + rm -fv *.o endif ifeq ($(PLATFORM_OS),OSX) find . -type f -perm +ugo+x -delete