summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/Makefile.template
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-04-06 16:47:51 +0000
committerBrian Paul <[email protected]>2006-04-06 16:47:51 +0000
commit0dcab2a86a6e842571eb194591deb397bb98c023 (patch)
tree665f474f2673e64a8245712854966d326dfe576e /src/mesa/drivers/dri/Makefile.template
parent789eb27870e238b9e77f077313b77df7bdcaa60e (diff)
Replace DEFINES with DRIVER_DEFINES. If a driver needs to set extra flags,
do so with DRIVER_DEFINES. This eliminates the duplicated flags we were passing to each cc command.
Diffstat (limited to 'src/mesa/drivers/dri/Makefile.template')
-rw-r--r--src/mesa/drivers/dri/Makefile.template8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index 9e1b36252ff..f07dda31714 100644
--- a/src/mesa/drivers/dri/Makefile.template
+++ b/src/mesa/drivers/dri/Makefile.template
@@ -57,10 +57,10 @@ SHARED_INCLUDES = \
##### RULES #####
.c.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
+ $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@
.S.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
+ $(CC) -c $(INCLUDES) $(CFLAGS) $(DRIVER_DEFINES) $< -o $@
##### TARGETS #####
@@ -88,8 +88,8 @@ $(LIB_DIR)/$(LIBNAME): $(LIBNAME)
.PHONY: depend
depend: $(C_SOURCES) $(ASM_SOURCES) $(SYMLINKS)
touch depend
- $(MKDEP) $(MKDEP_OPTIONS) $(DEFINES) $(INCLUDES) $(C_SOURCES) $(ASM_SOURCES) \
- >& /dev/null
+ $(MKDEP) $(MKDEP_OPTIONS) $(DRIVER_DEFINES) $(INCLUDES) $(C_SOURCES) \
+ $(ASM_SOURCES) >& /dev/null
# Emacs tags