Use makefiles that actually work

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@438 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
mem 2006-04-26 02:54:57 +00:00
parent d422398490
commit cbdf6c547f
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
NAME = $(GLEW_NAME)
CC = cc
LD = ld
LD = cc
ifneq (undefined, $(origin GLEW_MX))
CFLAGS.EXTRA = -DGLEW_MX
endif

View File

@ -1,11 +1,11 @@
NAME = $(GLEW_NAME)
CC = cc
LD = ld
LD = cc
ifneq (undefined, $(origin GLEW_MX))
CFLAGS.EXTRA = -DGLEW_MX
endif
PICFLAG = -fPIC
LDFLAGS.SO = -shared -soname $(LIB.SONAME)
LDFLAGS.SO = -shared -Wl,-soname $(LIB.SONAME)
LDFLAGS.EXTRA = -L/usr/X11R6/lib
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
LDFLAGS.STATIC = -Wl,-Bstatic