aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorchriscamacho <chriscamacho@users.noreply.github.com>2019-08-27 18:58:49 +0100
committerRay <raysan5@gmail.com>2019-08-27 19:58:49 +0200
commitdde1e0671ffd71582e3ec2b1e09bcd422d829591 (patch)
treeb94d76dceb4a6c9eed60d1b131a9c3cd64a56ecf /examples
parent4e43192561f167b7b5c4fb92998c656b4a432a79 (diff)
downloadraylib-dde1e0671ffd71582e3ec2b1e09bcd422d829591.tar.gz
raylib-dde1e0671ffd71582e3ec2b1e09bcd422d829591.zip
examples makefile not deleting examples in Linux (#955)
I'm not sure why the clean command is so complex (especially given that find -type f -executable | xargs rm -fv works!) but I fixed the version as is, to support x-pie-executable which was preventing it deleting anything on my system...
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index f57888ac..ce02d55f 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -471,7 +471,7 @@ 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' | rev | cut -d ':' -f 2- | rev | xargs rm -fv
+ 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
endif
ifeq ($(PLATFORM_OS),OSX)
find . -type f -perm +ugo+x -delete