summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-02-09 21:06:51 +0100
committerraysan5 <[email protected]>2020-02-09 21:06:51 +0100
commiteb2483338f81b1684367d34f150886cc6f5b9853 (patch)
treeeed8c5ef3213b4555e486933b5a7955a4ff01994 /examples
parentbecd3c383176c738b12702692c46bbc5f628d241 (diff)
downloadraylib-eb2483338f81b1684367d34f150886cc6f5b9853.tar.gz
raylib-eb2483338f81b1684367d34f150886cc6f5b9853.zip
REVIEWED: Makefile, examples clean target #1087
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile3
1 files changed, 2 insertions, 1 deletions
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