| --- glew-2.1.0/Makefile.orig 2016-08-26 22:59:52.467400000 +0400 |
| +++ glew-2.1.0/Makefile 2016-08-26 23:00:02.217400000 +0400 |
| @@ -42,14 +42,10 @@ |
| |
| GLEW_PREFIX ?= /usr |
| GLEW_DEST ?= /usr |
| -BINDIR ?= $(GLEW_DEST)/bin |
| -LIBDIR ?= $(GLEW_DEST)/lib |
| -INCDIR ?= $(GLEW_DEST)/include/GL |
| -PKGDIR ?= $(GLEW_DEST)/lib/pkgconfig |
| - |
| -ifneq ($(GLEW_NO_GLU), -DGLEW_NO_GLU) |
| -LIBGLU = glu |
| -endif |
| +BINDIR ?= $(GLEW_PREFIX)/bin |
| +LIBDIR ?= $(GLEW_PREFIX)/lib |
| +INCDIR ?= $(GLEW_PREFIX)/include/GL |
| +PKGDIR ?= $(GLEW_PREFIX)/lib/pkgconfig |
| |
| DIST_NAME ?= glew-$(GLEW_VERSION) |
| DIST_SRC_ZIP ?= $(shell pwd)/$(DIST_NAME).zip |
| --- glew-2.1.0/config/Makefile.mingw.orig 2016-08-26 22:59:52.467400000 +0400 |
| +++ glew-2.1.0/config/Makefile.mingw 2016-08-26 23:00:02.217400000 +0400 |
| @@ -3,10 +3,10 @@ |
| CC := gcc -fno-builtin |
| LD := gcc |
| LN := |
| -LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32 |
| +LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32 -lmingw32 -lmoldname -lmingwex -lmsvcrt |
| LDFLAGS.EXTRA = -L/mingw/lib |
| CFLAGS.EXTRA += -fno-builtin -fno-stack-protector |
| -LDFLAGS.EXTRA += -nostdlib |
| +#LDFLAGS.EXTRA += -nostdlib |
| WARN = -Wall -W |
| POPT = -O2 |
| BIN.SUFFIX = .exe |