From b92c1bbbf770da306059578cedc310f6d1542efb Mon Sep 17 00:00:00 2001 From: Constantine Tarasenkov Date: Sun, 25 Jan 2015 17:53:29 +0300 Subject: Fixes for makefiles, GLFW 3.1 library for Linux --- src/makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3