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

View File

@ -8,10 +8,10 @@ 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 else
LDFLAGS.EXTRA = -L/usr/X11R6/lib 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