mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-30 06:58:31 +00:00
Fix raylib compiling on Linux
This commit is contained in:
@@ -91,7 +91,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# define all object files required
|
# 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,
|
# typing 'make' will invoke the first target entry in the file,
|
||||||
# in this case, the 'default' target entry is raylib
|
# in this case, the 'default' target entry is raylib
|
||||||
@@ -114,9 +114,9 @@ core.o: core.c
|
|||||||
rlgl.o: rlgl.c
|
rlgl.o: rlgl.c
|
||||||
$(CC) -c rlgl.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM) -D$(GRAPHICS)
|
$(CC) -c rlgl.c $(CFLAGS) $(INCLUDES) -D$(PLATFORM) -D$(GRAPHICS)
|
||||||
|
|
||||||
# compile raymath module
|
# compile glad module
|
||||||
raymath.o: raymath.c
|
raymath.o: glad.c
|
||||||
$(CC) -c raymath.c $(CFLAGS) $(INCLUDES)
|
$(CC) -c glad.c $(CFLAGS) $(INCLUDES)
|
||||||
|
|
||||||
# compile shapes module
|
# compile shapes module
|
||||||
shapes.o: shapes.c
|
shapes.o: shapes.c
|
||||||
|
Reference in New Issue
Block a user