summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-07-15 13:55:20 +0000
committerBrian Paul <[email protected]>2005-07-15 13:55:20 +0000
commit4c72778251ef41053f417dc26408070c22c852d9 (patch)
tree65180c658b17f2620ab9237495d0e306e5877453 /src/mesa
parentbadad72383369fc9b1e32f7f550929af04ed3c4a (diff)
replace gcc with $(CC) (Egbert Eich)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/Makefile.template6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template
index 7d01b22e781..8182ae2da9a 100644
--- a/src/mesa/drivers/dri/Makefile.template
+++ b/src/mesa/drivers/dri/Makefile.template
@@ -38,9 +38,6 @@ OBJECTS = $(C_SOURCES:.c=.o) \
endif
-
-
-
### Include directories
SHARED_INCLUDES = \
-I. \
@@ -78,9 +75,10 @@ default: depend symlinks $(LIBNAME) $(LIB_DIR)/$(LIBNAME)
# $(TOP)/bin/mklib -o $(LIBNAME) -noprefix -install $(LIB_DIR) \
# $(WINLIB) $(LIB_DEPS) $(WINOBJ) $(MESA_MODULES) $(OBJECTS)
+# XXX we should use the mklib script here
$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile $(TOP)/src/mesa/drivers/dri/Makefile.template
rm -f $@
- gcc $(ARCH_FLAGS) -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS)
+ $(CC) $(ARCH_FLAGS) -o $@ -shared $(OBJECTS) $(MESA_MODULES) $(WINOBJ) $(DRI_LIB_DEPS)
$(LIB_DIR)/$(LIBNAME): $(LIBNAME)