mirror of
https://github.com/nigels-com/glew.git
synced 2025-01-31 08:50:26 +00:00
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:
parent
d422398490
commit
cbdf6c547f
@ -1,6 +1,6 @@
|
|||||||
NAME = $(GLEW_NAME)
|
NAME = $(GLEW_NAME)
|
||||||
CC = cc
|
CC = cc
|
||||||
LD = ld
|
LD = cc
|
||||||
ifneq (undefined, $(origin GLEW_MX))
|
ifneq (undefined, $(origin GLEW_MX))
|
||||||
CFLAGS.EXTRA = -DGLEW_MX
|
CFLAGS.EXTRA = -DGLEW_MX
|
||||||
endif
|
endif
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
NAME = $(GLEW_NAME)
|
NAME = $(GLEW_NAME)
|
||||||
CC = cc
|
CC = cc
|
||||||
LD = ld
|
LD = cc
|
||||||
ifneq (undefined, $(origin GLEW_MX))
|
ifneq (undefined, $(origin GLEW_MX))
|
||||||
CFLAGS.EXTRA = -DGLEW_MX
|
CFLAGS.EXTRA = -DGLEW_MX
|
||||||
endif
|
endif
|
||||||
PICFLAG = -fPIC
|
PICFLAG = -fPIC
|
||||||
LDFLAGS.SO = -shared -soname $(LIB.SONAME)
|
LDFLAGS.SO = -shared -Wl,-soname $(LIB.SONAME)
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||||
|
Loading…
Reference in New Issue
Block a user