25 lines
936 B
Diff
25 lines
936 B
Diff
diff -up glew/config/Makefile.linux~ glew/config/Makefile.linux
|
|
--- glew/config/Makefile.linux~ 2007-08-18 09:56:12.000000000 +0200
|
|
+++ glew/config/Makefile.linux 2007-08-18 09:56:12.000000000 +0200
|
|
@@ -14,7 +14,7 @@ else
|
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
|
LIBDIR = $(GLEW_DEST)$(libdir)
|
|
endif
|
|
-LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
|
+LDFLAGS.GL = -lGL
|
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
|
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
|
NAME = GLEW
|
|
diff -up glew/Makefile~ glew/Makefile
|
|
--- glew/Makefile~ 2007-08-18 10:26:11.000000000 +0200
|
|
+++ glew/Makefile 2007-08-18 10:26:11.000000000 +0200
|
|
@@ -96,7 +96,7 @@ bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.SRCS
|
|
$(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.SRCS) $(BIN.LIBS)
|
|
|
|
bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.SRCS) lib/$(LIB.SHARED)
|
|
- $(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.SRCS) $(BIN.LIBS)
|
|
+ $(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.SRCS) $(BIN.LIBS) -lGLU
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) -o $@ $<
|