From 31be39742bb76e524f9b9cba8ea68d8a668aa9f6 Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Mon, 2 Jan 2006 18:47:00 +0000 Subject: [PATCH] Use X11_INCLUDES config macro instead of hardcoded path in makefile. --- src/glut/glx/Makefile | 2 +- src/glw/Makefile | 2 +- 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) -- 2.30.2