aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorRay San <raysan5@gmail.com>2016-02-18 14:05:48 +0100
committerRay San <raysan5@gmail.com>2016-02-18 14:05:48 +0100
commit8aab52aeda47ce283d1446be27a7e2e20f027434 (patch)
tree0f0489a64df98dd9e815c2f22c0728b53df1aaad /src/makefile
parentafd2ffb74a84bf48b9129c613e1673ceae0bd46b (diff)
downloadraylib-8aab52aeda47ce283d1446be27a7e2e20f027434.tar.gz
raylib-8aab52aeda47ce283d1446be27a7e2e20f027434.zip
Redesigned RPI input system -IN PROGRESS-
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile
index 4f65c440..2d73e646 100644
--- a/src/makefile
+++ b/src/makefile
@@ -91,7 +91,13 @@ else
endif
# define all object files required
-OBJS = core.o rlgl.o glad.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o stb_vorbis.o
+ifeq ($(PLATFORM),PLATFORM_DESKTOP)
+ OBJS = core.o rlgl.o glad.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o stb_vorbis.o
+else
+ #GLAD only required on desktop platform
+ OBJS = core.o rlgl.o shapes.o text.o textures.o models.o audio.o stb_vorbis.o utils.o camera.o gestures.o
+endif
+
# typing 'make' will invoke the first target entry in the file,
# in this case, the 'default' target entry is raylib