Blame thirdparty/glew/glew-1.9.0/config/Makefile.cygwin
|
kusano |
7d535a |
NAME = GLEW
|
|
kusano |
7d535a |
GLEW_DEST ?= /usr
|
|
kusano |
7d535a |
# use gcc for linking, with ld it does not work
|
|
kusano |
7d535a |
CC := cc
|
|
kusano |
7d535a |
LD := cc
|
|
kusano |
7d535a |
LN :=
|
|
kusano |
7d535a |
LDFLAGS.EXTRA =
|
|
kusano |
7d535a |
LIBDIR = $(GLEW_DEST)/lib
|
|
kusano |
7d535a |
LDFLAGS.GL = -lXmu -lXi -lGL -lXext -lX11
|
|
kusano |
7d535a |
LDFLAGS.STATIC = -Wl,-Bstatic
|
|
kusano |
7d535a |
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
|
kusano |
7d535a |
WARN = -Wall -W
|
|
kusano |
7d535a |
POPT = -O2
|
|
kusano |
7d535a |
BIN.SUFFIX = .exe
|
|
kusano |
7d535a |
LIB.SONAME = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
|
kusano |
7d535a |
LIB.DEVLNK = lib$(NAME).dll.a
|
|
kusano |
7d535a |
LIB.SHARED = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
|
kusano |
7d535a |
LIB.STATIC = lib$(NAME).a
|
|
kusano |
7d535a |
LDFLAGS.SO = -shared -Wl,--out-implib,lib/$(LIB.DEVLNK)
|
|
kusano |
7d535a |
LIB.SONAME.MX = cyg$(NAME)mx-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
|
kusano |
7d535a |
LIB.DEVLNK.MX = lib$(NAME)mx.dll.a
|
|
kusano |
7d535a |
LIB.SHARED.MX = cyg$(NAME)mx-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
|
|
kusano |
7d535a |
LIB.STATIC.MX = lib$(NAME)mx.a
|
|
kusano |
7d535a |
LDFLAGS.SO.MX = -shared -Wl,--out-implib,lib/$(LIB.DEVLNK.MX)
|