2005-01-05 20:19:03 +00:00
|
|
|
NAME = $(GLEW_NAME)
|
2014-02-20 00:38:55 +00:00
|
|
|
CC = cc
|
|
|
|
LD = cc
|
2019-01-28 00:58:35 +00:00
|
|
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
|
|
|
|
LIBDIR = $(GLEW_DEST)/lib
|
2014-02-20 00:21:33 +00:00
|
|
|
LDFLAGS.GL = -lGL -lX11
|
2004-12-07 17:28:58 +00:00
|
|
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
2019-01-28 00:58:35 +00:00
|
|
|
LDFLAGS.DYNAMIC = -Wl,-Bdynamic,-rpath,$(LIBDIR)
|
2004-12-07 17:28:58 +00:00
|
|
|
NAME = GLEW
|
|
|
|
WARN = -Wall -W
|
|
|
|
POPT = -O2
|
2012-08-08 02:54:20 +00:00
|
|
|
CFLAGS.EXTRA += -fPIC
|
2014-10-14 09:24:49 +00:00
|
|
|
CFLAGS.EXTRA += -Wcast-qual
|
2015-02-21 13:44:40 +00:00
|
|
|
CFLAGS.EXTRA += -ansi -pedantic
|
2016-01-07 12:07:00 +00:00
|
|
|
CFLAGS.EXTRA += -fno-stack-protector
|
2004-12-07 17:28:58 +00:00
|
|
|
BIN.SUFFIX =
|
2005-01-05 20:19:03 +00:00
|
|
|
LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
|
2004-12-07 17:28:58 +00:00
|
|
|
LIB.DEVLNK = lib$(NAME).so
|
2005-01-05 20:19:03 +00:00
|
|
|
LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
|
2004-12-07 17:28:58 +00:00
|
|
|
LIB.STATIC = lib$(NAME).a
|
2011-03-29 01:21:13 +00:00
|
|
|
LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
|