diff options
| author | Ray <raysan5@gmail.com> | 2015-01-26 22:05:52 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2015-01-26 22:05:52 +0100 |
| commit | 032c8333d9540e7bd2f63d18b70d794736200539 (patch) | |
| tree | 78bb780cbb2106624117ab3d50cc0a13ee2ae8ed /src | |
| parent | f5048742aa8f77c5caedc2e224b70ee7583d2881 (diff) | |
| parent | b92c1bbbf770da306059578cedc310f6d1542efb (diff) | |
| download | raylib-032c8333d9540e7bd2f63d18b70d794736200539.tar.gz raylib-032c8333d9540e7bd2f63d18b70d794736200539.zip | |
Merge pull request #19 from procedural/linux
Fixes for makefiles, GLFW 3.1 library for Linux
Diffstat (limited to 'src')
| -rw-r--r-- | src/makefile | 3 |
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 |
