summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glut/glx/Makefile2
-rw-r--r--src/glw/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile
index 3a85d3eb9b3..86920aba99d 100644
--- a/src/glut/glx/Makefile
+++ b/src/glut/glx/Makefile
@@ -79,7 +79,7 @@ OBJECTS = $(SOURCES:.c=.o)
##### RULES #####
.c.o:
- $(CC) -c -I$(TOP)/include $(CFLAGS) $(GLUT_CFLAGS) $<
+ $(CC) -c -I$(TOP)/include $(X11_INCLUDES) $(CFLAGS) $(GLUT_CFLAGS) $<
diff --git a/src/glw/Makefile b/src/glw/Makefile
index 3c66c6778fc..e21cbbd4054 100644
--- a/src/glw/Makefile
+++ b/src/glw/Makefile
@@ -7,7 +7,7 @@ MAJOR = 1
MINOR = 0
TINY = 0
-INCDIRS = -I$(TOP)/include -I/usr/include/Motif1.2 -I/usr/contrib/X11R6/include -I/usr/X11R6/include
+INCDIRS = -I$(TOP)/include -I/usr/include/Motif1.2 $(X11_INCLUDES)
OBJECTS = $(GLW_SOURCES:.c=.o)