aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2016-04-03 18:20:04 +0200
committerRay <raysan5@gmail.com>2016-04-03 18:20:04 +0200
commit37cc45a0a887c55815fffed0c887508ff8956d1b (patch)
tree1730cf01b1e0fe42552c3c56383e0d4304fcd1ee /src
parent06a8d7eb06e1573d5cce991ca39f6cb1067ea6fb (diff)
parenta04a7b6ea53ed291a742baf764bd604d9fc7b70e (diff)
downloadraylib-37cc45a0a887c55815fffed0c887508ff8956d1b.tar.gz
raylib-37cc45a0a887c55815fffed0c887508ff8956d1b.zip
Merge pull request #107 from LelixSuper/develop
Cleaning of Makefile files
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index cab2ced0..76dbfc67 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -84,8 +84,6 @@ else
# external libraries headers
# GLFW3
INCLUDES += -I../external/glfw3/include
-# GLEW
- INCLUDES += -I../external/glew/include
# OpenAL Soft
INCLUDES += -I../external/openal_soft/include
endif
@@ -143,7 +141,7 @@ models.o: models.c
# compile audio module
audio.o: audio.c
$(CC) -c audio.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
-
+
# compile stb_vorbis library
stb_vorbis.o: stb_vorbis.c
$(CC) -c stb_vorbis.c -O1 $(INCLUDES) -D$(PLATFORM)
@@ -167,7 +165,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
rm -f *.o libraylib.a
else
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 -f
+ rm -f *.o libraylib.a
else
del *.o libraylib.a
endif