mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +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
6
Makefile
6
Makefile
@ -91,10 +91,12 @@ ifeq ($(patsubst Linux%,Linux,$(SYSTEM)), Linux)
|
||||
NAME = GLEW
|
||||
CC = cc
|
||||
LD = ld
|
||||
CFLAGS.EXTRA =
|
||||
CFLAGS.EXTRA =
|
||||
LDFLAGS.SO = -shared -soname $(LIB.SONAME)
|
||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
||||
NAME = GLEW
|
||||
WARN = -Wall -W
|
||||
POPT = -O2
|
||||
@ -205,7 +207,7 @@ LIB.LIBS = $(GL_LDFLAGS)
|
||||
BIN = glewinfo$(BIN.SUFFIX)
|
||||
BIN.SRCS = src/glewinfo.c
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user