mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Die Game-ABI muss in den Renderer
This commit is contained in:
parent
d8d7b80230
commit
d87a7bf9ed
1 changed files with 14 additions and 2 deletions
16
Makefile
16
Makefile
|
@ -132,6 +132,7 @@ dedicated_server:
|
|||
ref_gl :
|
||||
@-mkdir -p build \
|
||||
build/ref_gl \
|
||||
build/ref_gl_game \
|
||||
build/ref_gl_posix \
|
||||
release
|
||||
$(MAKE) release/ref_gl.so
|
||||
|
@ -262,6 +263,12 @@ OPENGL_OBJS = \
|
|||
|
||||
# ----------
|
||||
|
||||
# OpenGL Game ABI
|
||||
OPENGL_GAME_OBJS = \
|
||||
build/ref_gl_game/q_shared.o
|
||||
|
||||
# ----------
|
||||
|
||||
# OpenGL refresher POSIX platform object
|
||||
OPENGL_POSIX_OBJS = \
|
||||
build/ref_gl_posix/glob.o \
|
||||
|
@ -523,6 +530,11 @@ build/ref_gl/gl_rsurf.o: src/refresh/opengl/gl_rsurf.c
|
|||
|
||||
build/ref_gl/gl_warp.o: src/refresh/opengl/gl_warp.c
|
||||
$(CC) $(CFLAGS_OPENGL) -o $@ -c $<
|
||||
|
||||
# ----------
|
||||
|
||||
build/ref_gl_game/q_shared.o: src/game/quake2/q_shared.c
|
||||
$(CC) $(CFLAGS_OPENGL) $(SDLCFLAGS) -o $@ -c $<
|
||||
|
||||
# ----------
|
||||
|
||||
|
@ -538,7 +550,7 @@ build/ref_gl_posix/qgl.o: src/platforms/posix/refresh/opengl/qgl.c
|
|||
|
||||
build/ref_gl_posix/refresh.o: src/platforms/posix/sdl/refresh.c
|
||||
$(CC) $(CFLAGS_OPENGL) $(SDLCFLAGS) -o $@ -c $<
|
||||
|
||||
|
||||
# ----------
|
||||
|
||||
# The client
|
||||
|
@ -555,7 +567,7 @@ release/q2ded : $(DEDICATED_SERVER_OBJS) $(DEDICATED_SERVER_COMMON_OBJS) \
|
|||
$(DEDICATED_SERVER_POSIX_OBJS) $(LDFLAGS)
|
||||
|
||||
# OpenGL refresher
|
||||
release/ref_gl.so : $(OPENGL_OBJS) $(OPENGL_POSIX_OBJS)
|
||||
release/ref_gl.so : $(OPENGL_OBJS) $(OPENGL_POSIX_OBJS) $(OPENGL_GAME_OBJS)
|
||||
$(CC) $(CFLAGS_OPENGL) -o $@ $(OPENGL_OBJS) $(OPENGL_POSIX_OBJS) \
|
||||
$(LDFLAGS) $(SDLLDFLAGS) $(OPENGLLDFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue