summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/sources5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/sources b/src/mesa/sources
index 7eef01ae2d..8dd6d31a5c 100644
--- a/src/mesa/sources
+++ b/src/mesa/sources
@@ -156,7 +156,8 @@ SHADER_SOURCES = \
shader/slang/MachineIndependent/preprocessor/memory.c \
shader/slang/MachineIndependent/preprocessor/scanner.c \
shader/slang/MachineIndependent/preprocessor/symbols.c \
- shader/slang/MachineIndependent/preprocessor/tokens.c
+ shader/slang/MachineIndependent/preprocessor/tokens.c \
+ shader/slang/slang_mesa.cpp
ASM_C_SOURCES = \
x86/common_x86.c \
@@ -254,7 +255,7 @@ CORE_SOURCES = \
### Object files
-CORE_OBJECTS = $(CORE_SOURCES:.c=.o)
+CORE_OBJECTS = $(CORE_SOURCES:.c=.o) $(SHADER_SOURCES:.cpp=.o)
OSMESA_DRIVER_OBJECTS = $(OSMESA_DRIVER_SOURCES:.c=.o)