Fix build on Ubuntu

This commit is contained in:
Yamagi Burmeister 2011-12-26 08:48:33 +00:00
parent 9edbca1747
commit ca7445e001

View file

@ -414,21 +414,21 @@ GAME_DEPS= $(GAME_OBJS:.o=.d)
# release/quake2 # release/quake2
release/quake2 : $(CLIENT_OBJS) release/quake2 : $(CLIENT_OBJS)
@echo '===> LD $@' @echo '===> LD $@'
${Q}$(CC) $(LDFLAGS) $(X11LDFLAGS) $(SDLLDFLAGS) -o $@ $(CLIENT_OBJS) ${Q}$(CC) $(CLIENT_OBJS) $(LDFLAGS) $(X11LDFLAGS) $(SDLLDFLAGS) -o $@
# release/q2ded # release/q2ded
release/q2ded : $(SERVER_OBJS) release/q2ded : $(SERVER_OBJS)
@echo '===> LD $@' @echo '===> LD $@'
${Q}$(CC) $(LDFLAGS) -o $@ $(SERVER_OBJS) ${Q}$(CC) $(SERVER_OBJS) $(LDFLAGS) -o $@
# release/ref_gl.so # release/ref_gl.so
release/ref_gl.so : $(OPENGL_OBJS) release/ref_gl.so : $(OPENGL_OBJS)
@echo '===> LD $@' @echo '===> LD $@'
${Q}$(CC) $(LDFLAGS) -o $@ $(OPENGL_OBJS) ${Q}$(CC) $(OPENGL_OBJS) $(LDFLAGS) -o $@
# release/baseq2/game.so # release/baseq2/game.so
release/baseq2/game.so : $(GAME_OBJS) release/baseq2/game.so : $(GAME_OBJS)
@echo '===> LD $@' @echo '===> LD $@'
${Q}$(CC) $(LDFLAGS) -o $@ $(GAME_OBJS) ${Q}$(CC) $(GAME_OBJS) $(LDFLAGS) -o $@
# ---------- # ----------