git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@472 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2007-03-01 06:01:39 +00:00
parent 85353ee370
commit b13d74832b

View File

@ -8,10 +8,11 @@ PICFLAG = -fPIC
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME) LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
M_ARCH ?= $(shell arch) M_ARCH ?= $(shell arch)
ifeq (${M_ARCH},x86_64)) ifeq (${M_ARCH},x86_64))
LDFLAGS.EXTRA = -L/usr/X11R6/lib64; \ LDFLAGS.EXTRA = -L/usr/X11R6/lib64
LIBDIR = $(GLEW_DEST)/lib64 LIBDIR = $(GLEW_DEST)/lib64
else endif
LDFLAGS.EXTRA = -L/usr/X11R6/lib; \ ifneq (${M_ARCH},x86_64))
LDFLAGS.EXTRA = -L/usr/X11R6/lib
LIBDIR = $(GLEW_DEST)/lib LIBDIR = $(GLEW_DEST)/lib
endif endif
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11 LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11