Put quotes around the CC and CXX variables passed to mklib. This make
[mesa.git] / src / glx / x11 / Makefile
index a8fe53a62c2a44f0d37fc57543485b051833fe25..910db404b5d8a21466a7a47df84dd77de4e11e24 100644 (file)
@@ -24,12 +24,10 @@ C_SOURCES = \
          compsize.c \
          dispatch.c \
          eval.c \
-         g_render.c \
-         g_single.c \
-         g_vendpriv.c \
          glxcmds.c \
          glxext.c \
          glxextensions.c \
+         indirect.c \
          indirect_init.c \
          indirect_size.c \
          indirect_window_pos.c \
@@ -88,7 +86,7 @@ glcontextmodes.c:
 
 # Make libGL
 $(LIB_DIR)/$(GL_LIB_NAME):  $(OBJECTS) Makefile
-       CC=$(CC) CXX=$(CXX) $(TOP)/bin/mklib -o $(GL_LIB) -major 1 -minor 2 $(MKLIB_OPTIONS) \
+       CC="$(CC)" CXX="$(CXX)" $(TOP)/bin/mklib -o $(GL_LIB) -major 1 -minor 2 $(MKLIB_OPTIONS) \
                -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS)