diff options
author | James Canete <use.less01@gmail.com> | 2012-10-28 21:04:41 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:23:54 +0000 |
commit | a99a52ab769fae84edaba26637f83458a30ef0c6 (patch) | |
tree | 73c790dd75c7e27fd7f8afccfa74cc50b506d130 /Makefile | |
parent | 0a1a103790698c5d270d2fe5d36e60379d25a8dc (diff) |
From /dev/humancontroller: when hard-linking renderers, put the old renderer (not the new one) into the "ioquake3" executable, and use a distinguished "ioquake3_rend2" executable for the new renderer (Fixes bug #5789.)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -858,8 +858,14 @@ ifneq ($(BUILD_CLIENT),0) endif else TARGETS += $(B)/$(CLIENTBIN)$(FULLBINEXT) + ifneq ($(BUILD_RENDERER_REND2), 0) + TARGETS += $(B)/$(CLIENTBIN)_rend2$(FULLBINEXT) + endif ifneq ($(BUILD_CLIENT_SMP),0) TARGETS += $(B)/$(CLIENTBIN)-smp$(FULLBINEXT) + ifneq ($(BUILD_RENDERER_REND2), 0) + TARGETS += $(B)/$(CLIENTBIN)_rend2-smp$(FULLBINEXT) + endif endif endif endif @@ -1691,13 +1697,25 @@ $(B)/renderer_rend2_smp_$(SHLIBNAME): $(Q3R2OBJ) $(Q3RPOBJ_SMP) $(JPGOBJ) $(THREAD_LIBS) $(LIBSDLMAIN) $(RENDERER_LIBS) $(LIBS) else -$(B)/$(CLIENTBIN)$(FULLBINEXT): $(Q3OBJ) $(Q3R2OBJ) $(Q3RPOBJ_UP) $(JPGOBJ) $(LIBSDLMAIN) +$(B)/$(CLIENTBIN)$(FULLBINEXT): $(Q3OBJ) $(Q3ROBJ) $(Q3RPOBJ_UP) $(JPGOBJ) $(LIBSDLMAIN) + $(echo_cmd) "LD $@" + $(Q)$(CC) $(CLIENT_CFLAGS) $(CFLAGS) $(CLIENT_LDFLAGS) $(LDFLAGS) \ + -o $@ $(Q3OBJ) $(Q3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