From cf4a6810b5eed10cb8aba5521307fd332badff02 Mon Sep 17 00:00:00 2001 From: ikits Date: Sun, 4 May 2003 19:54:07 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@62 783a27ee-832a-0410-bc00-9f386506c6dd --- Makefile | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 91f449d..ca046f6 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ ## ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF ## THE POSSIBILITY OF SUCH DAMAGE. -GLEW_TARGET ?= /usr +GLEW_DEST ?= /usr GLEW_VERSION = 1.0.6 SYSTEM = $(strip $(shell uname -s)) @@ -88,19 +88,19 @@ bin/$(BIN): $(BIN.SRCS) lib/$(LIB.A) $(CC) -c $(CFLAGS) -o $@ $< install: all - $(INSTALL) -d -m 755 $(GLEW_TARGET)/include/GL - $(INSTALL) -m 644 include/GL/glew.h include/GL/glxew.h $(GLEW_TARGET)/include/GL - $(INSTALL) -d -m 755 $(GLEW_TARGET)/lib - $(INSTALL) -s -m 755 lib/$(LIB.A) $(GLEW_TARGET)/lib - $(INSTALL) -s -m 755 lib/$(LIB.SO) $(GLEW_TARGET)/lib - $(LN) $(GLEW_TARGET)/lib/$(LIB.SO) $(GLEW_TARGET)/lib/$(LIB.SO.LNK) - $(INSTALL) -d -m 755 $(GLEW_TARGET)/bin - $(INSTALL) -s -m 755 bin/$(BIN) $(GLEW_TARGET)/bin + $(INSTALL) -d -m 755 $(GLEW_DEST)/include/GL + $(INSTALL) -m 644 include/GL/glew.h include/GL/glxew.h $(GLEW_DEST)/include/GL + $(INSTALL) -d -m 755 $(GLEW_DEST)/lib + $(INSTALL) -s -m 755 lib/$(LIB.A) $(GLEW_DEST)/lib + $(INSTALL) -s -m 755 lib/$(LIB.SO) $(GLEW_DEST)/lib + $(LN) $(GLEW_DEST)/lib/$(LIB.SO) $(GLEW_DEST)/lib/$(LIB.SO.LNK) + $(INSTALL) -d -m 755 $(GLEW_DEST)/bin + $(INSTALL) -s -m 755 bin/$(BIN) $(GLEW_DEST)/bin uninstall: - $(RM) $(GLEW_TARGET)/include/GL/glew.h $(GLEW_TARGET)/include/GL/glxew.h - $(RM) $(GLEW_TARGET)/lib/$(LIB.SO.LNK) $(GLEW_TARGET)/lib/$(LIB.SO) - $(RM) $(GLEW_TARGET)/bin/$(BIN) + $(RM) $(GLEW_DEST)/include/GL/glew.h $(GLEW_DEST)/include/GL/glxew.h + $(RM) $(GLEW_DEST)/lib/$(LIB.SO.LNK) $(GLEW_DEST)/lib/$(LIB.SO) + $(RM) $(GLEW_DEST)/bin/$(BIN) clean: $(RM) $(LIB.OBJS) lib/$(LIB.A) lib/$(LIB.SO) lib/$(LIB.SO.LNK) \