mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-14 02:53:48 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@256 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
75388ba9f8
commit
a09330dad6
4
Makefile
4
Makefile
@ -95,6 +95,8 @@ CFLAGS.EXTRA =
|
|||||||
LDFLAGS.SO = -shared -soname $(LIB.SONAME)
|
LDFLAGS.SO = -shared -soname $(LIB.SONAME)
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||||
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||||
|
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
||||||
NAME = GLEW
|
NAME = GLEW
|
||||||
WARN = -Wall -W
|
WARN = -Wall -W
|
||||||
POPT = -O2
|
POPT = -O2
|
||||||
@ -205,7 +207,7 @@ LIB.LIBS = $(GL_LDFLAGS)
|
|||||||
BIN = glewinfo$(BIN.SUFFIX)
|
BIN = glewinfo$(BIN.SUFFIX)
|
||||||
BIN.SRCS = src/glewinfo.c
|
BIN.SRCS = src/glewinfo.c
|
||||||
BIN.OBJS = $(BIN.SRCS:.c=.o)
|
BIN.OBJS = $(BIN.SRCS:.c=.o)
|
||||||
BIN.LIBS = -Llib -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL)
|
BIN.LIBS = -Llib $(LDFLAGS.STATIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.DYNAMIC) $(LDFLAGS.GL)
|
||||||
|
|
||||||
all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(BIN)
|
all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(BIN)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user