2011-04-01 16:12:59 +00:00
|
|
|
NAME = $(GLEW_NAME)
|
2014-02-20 00:19:47 +00:00
|
|
|
CC ?= gcc
|
|
|
|
LD ?= ld
|
2011-04-01 16:12:59 +00:00
|
|
|
CFLAGS.EXTRA = -I/usr/openwin/include
|
|
|
|
LDFLAGS.SO = -G
|
|
|
|
LDFLAGS.EXTRA = -L/usr/openwin/lib
|
2012-08-06 04:59:29 +00:00
|
|
|
LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11
|
2011-04-01 16:12:59 +00:00
|
|
|
NAME = GLEW
|
|
|
|
BIN.SUFFIX =
|
|
|
|
POPT = -O2
|
|
|
|
LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
|
|
|
|
LIB.DEVLNK = lib$(NAME).so
|
|
|
|
LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
|
|
|
|
LIB.STATIC = lib$(NAME).a
|
|
|
|
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|
|
|
|
LIB.SONAME.MX = lib$(NAME)mx.so.$(SO_MAJOR)
|
|
|
|
LIB.DEVLNK.MX = lib$(NAME)mx.so
|
|
|
|
LIB.SHARED.MX = lib$(NAME)mx.so.$(SO_VERSION)
|
|
|
|
LIB.STATIC.MX = lib$(NAME)mx.a
|
|
|
|
LDFLAGS.SO.MX = -shared -Wl,-soname=$(LIB.SONAME.MX)
|