diff options
Diffstat (limited to 'src/glut/glx/Makefile.X11')
-rw-r--r-- | src/glut/glx/Makefile.X11 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/glut/glx/Makefile.X11 b/src/glut/glx/Makefile.X11 index c448b64b6ae..0427f3f5fbb 100644 --- a/src/glut/glx/Makefile.X11 +++ b/src/glut/glx/Makefile.X11 @@ -1,5 +1,3 @@ -# $Id: Makefile.X11,v 1.3 2002/08/17 00:20:48 brianp Exp $ - # Makefile for GLUT # # NOTICE: The OpenGL Utility Toolkit (GLUT) distribution contains source @@ -23,8 +21,9 @@ GLUT_TINY = 1 VPATH = RCS -INCDIR = ../include -LIBDIR = ../lib +TOP = ../../.. +INCDIR = $(TOP)/include +LIBDIR = $(TOP)/lib SOURCES = \ glut_8x13.c \ @@ -102,10 +101,11 @@ targets: $(LIBDIR)/$(GLUT_LIB) # Make the library $(LIBDIR)/$(GLUT_LIB): $(OBJECTS) - $(MAKELIB) $(GLUT_LIB) $(GLUT_MAJOR) $(GLUT_MINOR) $(GLUT_TINY) $(OBJECTS) - mv $(GLUT_LIB)* $(LIBDIR) + $(TOP)/bin/mklib -o glut -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \ + -patch $(GLUT_TINY) $(GLUT_LIB_DEPS) -install $(LIBDIR) \ + $(OBJECTS) -include ../Make-config +include $(TOP)/Make-config include depend @@ -116,4 +116,4 @@ include depend # by any source file. # dep: $(SOURCES) - makedepend -fdepend -Y -I../include $(SOURCES) + makedepend -fdepend -Y -I$(TOP)/include $(SOURCES) |