aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorConstantine Tarasenkov <iamvfx@gmail.com>2015-01-25 17:53:29 +0300
committerConstantine Tarasenkov <iamvfx@gmail.com>2015-01-25 17:53:29 +0300
commitb92c1bbbf770da306059578cedc310f6d1542efb (patch)
tree78bb780cbb2106624117ab3d50cc0a13ee2ae8ed /src/makefile
parentf5048742aa8f77c5caedc2e224b70ee7583d2881 (diff)
downloadraylib-b92c1bbbf770da306059578cedc310f6d1542efb.tar.gz
raylib-b92c1bbbf770da306059578cedc310f6d1542efb.zip
Fixes for makefiles, GLFW 3.1 library for Linux
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/makefile b/src/makefile
index a726b92e..77aa2b5d 100644
--- a/src/makefile
+++ b/src/makefile
@@ -155,8 +155,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
rm -f *.o libraylib.a
else
ifeq ($(PLATFORM_OS),LINUX)
- find . -type f -executable -delete
- rm -f *.o libraylib.a
+ 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 -f
else
del *.o libraylib.a
endif