From 883f9891cb203dd087843b830ab058d6c9e160dc Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 13 Jul 2006 02:50:27 +0000 Subject: LIB_DIR is now just 'lib' or 'lib64' Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets. Patch by Hanno Böck. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/glut/glx/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/glut/glx') diff --git a/src/glut/glx/Makefile b/src/glut/glx/Makefile index 534d7a7ad5..6fac92fa0c 100644 --- a/src/glut/glx/Makefile +++ b/src/glut/glx/Makefile @@ -85,22 +85,22 @@ OBJECTS = $(SOURCES:.c=.o) ##### TARGETS ##### -default: $(LIB_DIR)/$(GLUT_LIB_NAME) +default: $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME) # Make the library -$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) +$(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) $(TOP)/bin/mklib -o $(GLUT_LIB) -linker '$(CC)' \ -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) -patch $(GLUT_TINY) \ - $(MKLIB_OPTIONS) -install $(LIB_DIR) \ + $(MKLIB_OPTIONS) -install $(TOP)/$(LIB_DIR) \ $(GLUT_LIB_DEPS) $(OBJECTS) install: $(INSTALL) -d $(INSTALL_DIR)/include/GL - $(INSTALL) -d $(INSTALL_DIR)/lib + $(INSTALL) -d $(INSTALL_DIR)/$(LIB_DIR) $(INSTALL) -m 644 $(TOP)/include/GL/glut.h $(INSTALL_DIR)/include/GL - $(COPY_LIBS) $(LIB_DIR)/libglut* $(INSTALL_DIR)/lib + $(COPY_LIBS) $(TOP)/$(LIB_DIR)/libglut* $(INSTALL_DIR)/$(LIB_DIR) clean: -- cgit v1.2.3