summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-02-16 12:14:48 +0000
committerTim Angus <tim@ngus.net>2013-02-16 21:58:27 +0000
commiteb0a54ff95ad6120182d6685c590d720da14c1d9 (patch)
treee3ccce6b8b2329041bb3dc68877c041d181fc426 /Makefile
parent5728b0a1233bb4e1c15cd599bca9d959ec87eab7 (diff)
Move some things into renderercommon
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 13b1f018..79901803 100644
--- a/Makefile
+++ b/Makefile
@@ -198,6 +198,7 @@ BD=$(BUILD_DIR)/debug-$(PLATFORM)-$(ARCH)
BR=$(BUILD_DIR)/release-$(PLATFORM)-$(ARCH)
CDIR=$(MOUNT_DIR)/client
SDIR=$(MOUNT_DIR)/server
+RCOMMONDIR=$(MOUNT_DIR)/renderercommon
RGL1DIR=$(MOUNT_DIR)/renderergl1
RGL2DIR=$(MOUNT_DIR)/renderergl2
CMDIR=$(MOUNT_DIR)/qcommon
@@ -2034,6 +2035,9 @@ $(B)/renderergl1/%.o: $(SDLDIR)/%.c
$(B)/renderergl1/%.o: $(JPDIR)/%.c
$(DO_REF_CC)
+$(B)/renderergl1/%.o: $(RCOMMONDIR)/%.c
+ $(DO_REF_CC)
+
$(B)/renderergl1/%.o: $(RGL1DIR)/%.c
$(DO_REF_CC)
@@ -2043,6 +2047,9 @@ $(B)/renderergl2/glsl/%.c: $(RGL2DIR)/glsl/%.glsl
$(B)/renderergl2/glsl/%.o: $(B)/renderergl2/glsl/%.c
$(DO_REF_CC)
+$(B)/renderergl2/%.o: $(RCOMMONDIR)/%.c
+ $(DO_REF_CC)
+
$(B)/renderergl2/%.o: $(RGL2DIR)/%.c
$(DO_REF_CC)