2007-03-02 15:14:23 +00:00
|
|
|
NAME = GLEW
|
2011-04-26 02:15:35 +00:00
|
|
|
GLEW_DEST ?= /usr
|
2004-12-07 17:28:58 +00:00
|
|
|
# use gcc for linking, with ld it does not work
|
2014-02-20 00:38:55 +00:00
|
|
|
CC := cc
|
|
|
|
LD := cc
|
2012-02-15 19:15:40 +00:00
|
|
|
LN :=
|
2011-04-26 02:15:35 +00:00
|
|
|
LDFLAGS.EXTRA =
|
2007-03-02 15:14:23 +00:00
|
|
|
LIBDIR = $(GLEW_DEST)/lib
|
2014-02-20 00:21:33 +00:00
|
|
|
LDFLAGS.GL = -lGL -lX11
|
2015-03-23 10:16:49 +00:00
|
|
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
2007-03-02 15:14:23 +00:00
|
|
|
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
2004-12-07 17:28:58 +00:00
|
|
|
WARN = -Wall -W
|
|
|
|
POPT = -O2
|
2010-10-29 05:14:45 +00:00
|
|
|
BIN.SUFFIX = .exe
|
2011-04-26 02:15:35 +00:00
|
|
|
LIB.SONAME = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
2011-03-11 21:43:25 +00:00
|
|
|
LIB.DEVLNK = lib$(NAME).dll.a
|
2011-04-26 02:15:35 +00:00
|
|
|
LIB.SHARED = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
2011-03-11 21:43:25 +00:00
|
|
|
LIB.STATIC = lib$(NAME).a
|
2011-03-29 01:21:13 +00:00
|
|
|
LDFLAGS.SO = -shared -Wl,--out-implib,lib/$(LIB.DEVLNK)
|
2011-04-26 02:15:35 +00:00
|
|
|
LIB.SONAME.MX = cyg$(NAME)mx-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
2011-03-11 21:43:25 +00:00
|
|
|
LIB.DEVLNK.MX = lib$(NAME)mx.dll.a
|
2011-04-26 02:15:35 +00:00
|
|
|
LIB.SHARED.MX = cyg$(NAME)mx-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
2011-03-11 21:43:25 +00:00
|
|
|
LIB.STATIC.MX = lib$(NAME)mx.a
|
2011-03-29 01:21:13 +00:00
|
|
|
LDFLAGS.SO.MX = -shared -Wl,--out-implib,lib/$(LIB.DEVLNK.MX)
|