*** empty log message ***

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@57 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2003-05-01 23:40:22 +00:00
parent fe980ed29b
commit ae7ff20752

View File

@ -32,15 +32,19 @@ GLEW_VERSION = 1.0.6
SYSTEM = $(strip $(shell uname -s)) SYSTEM = $(strip $(shell uname -s))
ifeq ($(patsubst CYGWIN%,CYGWIN,$(SYSTEM)), CYGWIN) ifeq ($(patsubst CYGWIN%,CYGWIN,$(SYSTEM)), CYGWIN)
CC = \gcc-2 -mno-cygwin CC = \gcc -mno-cygwin
LD = \gcc-2 -mno-cygwin LD = \gcc -mno-cygwin
NAME = glew32 NAME = glew32
DEFINE = -D'GLEW_STATIC' DEFINE = -D'GLEW_STATIC'
BIN.LIBS = -Llib -lglut -l$(NAME) -lglu32 -lopengl32
P.BIN = .exe
else else
ifeq ($(patsubst Linux%,Linux,$(SYSTEM)), Linux) ifeq ($(patsubst Linux%,Linux,$(SYSTEM)), Linux)
CC = \gcc CC = \gcc
LD = \ld LD = \ld
NAME = GLEW NAME = GLEW
BIN.LIBS = -Llib -L/usr/X11R6/lib -lglut -l$(NAME) -lGLU -lGL -lXmu -lX11
P.BIN =
else else
$(error "Platform '$(SYSTEM)' not supported") $(error "Platform '$(SYSTEM)' not supported")
endif endif
@ -64,10 +68,9 @@ LIB.SO.LNK = lib$(NAME).so
LIB.SRCS = src/glew.c LIB.SRCS = src/glew.c
LIB.OBJS = $(LIB.SRCS:.c=.o) LIB.OBJS = $(LIB.SRCS:.c=.o)
BIN = glewinfo BIN = glewinfo$(P.BIN)
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/usr/X11R6/lib -lglut -l$(NAME) -lGLU -lGL -lXmu -lX11
all: bin/$(BIN) lib/$(LIB.SO) all: bin/$(BIN) lib/$(LIB.SO)