summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorRay <[email protected]>2018-07-16 18:43:24 +0200
committerRay <[email protected]>2018-07-16 18:43:24 +0200
commit98273f0152106dde09ab82f5f68332ca83582bb9 (patch)
treee16151114748af90f6c4370d9ef37f534b75642e /src/Makefile
parent4d4d9b0170c66871fc0597ed2a172baa1e03569d (diff)
downloadraylib-98273f0152106dde09ab82f5f68332ca83582bb9.tar.gz
raylib-98273f0152106dde09ab82f5f68332ca83582bb9.zip
Reviewed compilation options
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile
index ac9e7a1d..26233c95 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -411,7 +411,6 @@ endif
# Define object required on compilation
OBJS = core.o \
- rlgl.o \
shapes.o \
textures.o \
text.o \
@@ -524,23 +523,19 @@ endif
# Compile all modules with their prerequisites
# Compile core module
-core.o : core.c raylib.h rlgl.h utils.h raymath.h gestures.h
+core.o : core.c raylib.h rlgl.h utils.h raymath.h camera.h gestures.h
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
# Compile rglfw module
rglfw.o : rglfw.c
$(CC) $(GLFW_CFLAGS) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
-# Compile rlgl module
-rlgl.o : rlgl.c rlgl.h raymath.h
- $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
-
# Compile shapes module
shapes.o : shapes.c raylib.h rlgl.h
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
# Compile textures module
-textures.o : textures.c rlgl.h utils.h
+textures.o : textures.c raylib.h rlgl.h utils.h
$(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -D$(GRAPHICS)
# Compile text module
@@ -610,7 +605,6 @@ ifeq ($(ROOT),root)
cp --update raylib.h $(RAYLIB_H_INSTALL_PATH)/raylib.h
cp --update raymath.h $(RAYLIB_H_INSTALL_PATH)/raymath.h
cp --update rlgl.h $(RAYLIB_H_INSTALL_PATH)/rlgl.h
- cp --update rlgl.c $(RAYLIB_H_INSTALL_PATH)/rlgl.c
cp --update physac.h $(RAYLIB_H_INSTALL_PATH)/physac.h
@echo "raylib development files installed/updated!"
else
@@ -639,7 +633,6 @@ ifeq ($(ROOT),root)
rm --force --interactive --verbose $(RAYLIB_H_INSTALL_PATH)/raylib.h
rm --force --interactive --verbose $(RAYLIB_H_INSTALL_PATH)/raymath.h
rm --force --interactive --verbose $(RAYLIB_H_INSTALL_PATH)/rlgl.h
- rm --force --interactive --verbose $(RAYLIB_H_INSTALL_PATH)/rlgl.c
rm --force --interactive --verbose $(RAYLIB_H_INSTALL_PATH)/physac.h
@echo "raylib development files removed!"
else