From d9f98404ccb45ccd30de3c32f5ee67a8d92fc521 Mon Sep 17 00:00:00 2001 From: ikits Date: Thu, 1 Mar 2007 07:09:30 +0000 Subject: [PATCH] bug fixes git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@474 783a27ee-832a-0410-bc00-9f386506c6dd --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 008b9de..040c797 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ GLEWINFO.BIN.OBJS = $(GLEWINFO_BIN.SRCS:.c=.o) VISUALINFO.BIN = visualinfo$(BIN.SUFFIX) VISUALINFO.BIN.SRCS = src/visualinfo.c VISUALINFO.BIN.OBJS = $(VISUALINFO_BIN.SRCS:.c=.o) -BIN.LIBS = -Llib $(LDFLAGS.STATIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.DYNAMIC) $(LDFLAGS.GL) +BIN.LIBS = -Llib $(LDFLAGS.DYNAMIC) -l$(NAME) $(LDFLAGS.EXTRA) $(LDFLAGS.GL) all debug: lib/$(LIB.SHARED) lib/$(LIB.STATIC) bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) @@ -95,10 +95,10 @@ else endif bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.SRCS) lib/$(LIB.SHARED) - $(CC) $(CFLAGS) -o $@ $^ $(BIN.LIBS) + $(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.SRCS) $(BIN.LIBS) bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.SRCS) lib/$(LIB.SHARED) - $(CC) $(CFLAGS) -o $@ $^ $(BIN.LIBS) + $(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.SRCS) $(BIN.LIBS) %.o: %.c $(CC) -c $(CFLAGS) -o $@ $<