summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)