21 lines
353 B
Makefile
21 lines
353 B
Makefile
|
NAME = $(GLEW_NAME)
|
||
|
CC = cc
|
||
|
LD = cc
|
||
|
|
||
|
LDFLAGS.GL = -lGL
|
||
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
||
|
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
||
|
|
||
|
NAME = GLEW
|
||
|
WARN = -Wall -W
|
||
|
POPT = -O2
|
||
|
|
||
|
BIN.SUFFIX =
|
||
|
|
||
|
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)
|
||
|
|