aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorraysan5 <raysan5@gmail.com>2016-06-07 18:57:20 +0200
committerraysan5 <raysan5@gmail.com>2016-06-07 18:57:20 +0200
commit058af472ea68d0e18e46a44bd0bd44445aa4587b (patch)
treec8d30431c7c65e2b764c59d45556f60537b5b387 /src/Makefile
parent3d5a4081775633a3b13b04b0a594059b3e3b494e (diff)
downloadraylib-058af472ea68d0e18e46a44bd0bd44445aa4587b.tar.gz
raylib-058af472ea68d0e18e46a44bd0bd44445aa4587b.zip
Converted GLAD to header only
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/Makefile b/src/Makefile
index 92e37cfb..ce703c3a 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -92,13 +92,7 @@ else
endif
# define all object files required
-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
-
+OBJS = core.o rlgl.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o stb_vorbis.o
# typing 'make' will invoke the default target entry called 'all',
# in this case, the 'default' target entry is raylib
@@ -153,10 +147,6 @@ camera.o: camera.c
gestures.o: gestures.c
$(CC) -c gestures.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM)
-# compile glad module
-glad.o: external/glad.c
- $(CC) -c external/glad.c $(CFLAGS) $(INCLUDES)
-
# compile stb_vorbis library
stb_vorbis.o: external/stb_vorbis.c
$(CC) -c external/stb_vorbis.c -O1 $(INCLUDES) -D$(PLATFORM)