From 5d6475c93b5b23837220124d5dabd1c39ab9a80a Mon Sep 17 00:00:00 2001 From: Constantine Tarasenkov Date: Fri, 29 Jan 2016 03:22:51 +0300 Subject: [PATCH 1/2] Fix raylib compiling on Linux --- src/makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/makefile b/src/makefile index 70fbca7cc..1996907d7 100644 --- a/src/makefile +++ b/src/makefile @@ -91,7 +91,7 @@ else endif # define all object files required -OBJS = core.o rlgl.o raymath.o shapes.o text.o textures.o models.o audio.o utils.o camera.o gestures.o stb_vorbis.o +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 # typing 'make' will invoke the first target entry in the file, # in this case, the 'default' target entry is raylib @@ -114,9 +114,9 @@ core.o: core.c rlgl.o: rlgl.c $(CC) -c rlgl.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM) -D$(GRAPHICS) -# compile raymath module -raymath.o: raymath.c - $(CC) -c raymath.c $(CFLAGS) $(INCLUDES) +# compile glad module +raymath.o: glad.c + $(CC) -c glad.c $(CFLAGS) $(INCLUDES) # compile shapes module shapes.o: shapes.c From e6ad166ae34a35ee2a2f53359146ae58d1376dd6 Mon Sep 17 00:00:00 2001 From: Constantine Tarasenkov Date: Fri, 29 Jan 2016 08:02:53 +0300 Subject: [PATCH 2/2] --- src/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makefile b/src/makefile index 1996907d7..4f65c4407 100644 --- a/src/makefile +++ b/src/makefile @@ -115,7 +115,7 @@ rlgl.o: rlgl.c $(CC) -c rlgl.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM) -D$(GRAPHICS) # compile glad module -raymath.o: glad.c +glad.o: glad.c $(CC) -c glad.c $(CFLAGS) $(INCLUDES) # compile shapes module