diff options
author | Eric Anholt <[email protected]> | 2010-08-10 20:39:06 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-08-26 14:55:43 -0700 |
commit | a1bebf73dfdaf2cd23286aa74271b87166589901 (patch) | |
tree | a481c530dc811e761c6314b8d30f5edc7427308c /src/mesa/drivers/dri/Makefile.template | |
parent | 4418a493c2466e734e1ca5ace51535d1dbcf8a46 (diff) |
i965: Start building 965 FS backend.
Diffstat (limited to 'src/mesa/drivers/dri/Makefile.template')
-rw-r--r-- | src/mesa/drivers/dri/Makefile.template | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index 35daacfacdc..a00018cafa7 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -17,6 +17,7 @@ COMMON_SOURCES = $(COMMON_GALLIUM_SOURCES) \ INCLUDES = $(SHARED_INCLUDES) $(EXPAT_INCLUDES) OBJECTS = $(C_SOURCES:.c=.o) \ + $(CXX_SOURCES:.cpp=.o) \ $(ASM_SOURCES:.S=.o) @@ -33,12 +34,16 @@ SHARED_INCLUDES = \ $(LIBDRM_CFLAGS) CFLAGS += $(API_DEFINES) +CXXFLAGS += $(API_DEFINES) ##### RULES ##### .c.o: $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@ +.cpp.o: + $(CC) -c $(INCLUDES) $(CXXFLAGS) $(DRIVER_DEFINES) $< -o $@ + .S.o: $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@ |