mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-27 09:01:57 +00:00
18 lines
408 B
Makefile
18 lines
408 B
Makefile
|
NAME = GLEW
|
||
|
CC = cc
|
||
|
LD = ld
|
||
|
CFLAGS.EXTRA = -I/usr/openwin/include
|
||
|
ifneq (undefined, $(origin GLEW_MX))
|
||
|
CFLAGS.EXTRA += -DGLEW_MX
|
||
|
endif
|
||
|
LDFLAGS.SO = -G
|
||
|
LDFLAGS.EXTRA = -L/usr/openwin/lib
|
||
|
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||
|
NAME = GLEW
|
||
|
BIN.SUFFIX =
|
||
|
POPT = -xO2
|
||
|
LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR)
|
||
|
LIB.DEVLNK = lib$(NAME).so
|
||
|
LIB.SHARED = lib$(NAME).so.$(GLEW_VERSION)
|
||
|
LIB.STATIC = lib$(NAME).a
|