diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-08-10 11:47:22 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-08-10 11:47:22 +0000 |
commit | 706e5d657396530bbd3d91a4e03b5f6b4cb6fa6f (patch) | |
tree | 88dfac3941d306264b5d8a8138808b06b986624a /config/Makefile.mingw | |
download | glew-tarball-706e5d657396530bbd3d91a4e03b5f6b4cb6fa6f.tar.gz |
glew-1.13.0HEADglew-1.13.0master
Diffstat (limited to 'config/Makefile.mingw')
-rw-r--r-- | config/Makefile.mingw | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config/Makefile.mingw b/config/Makefile.mingw new file mode 100644 index 0000000..f1fb194 --- /dev/null +++ b/config/Makefile.mingw @@ -0,0 +1,20 @@ +NAME = glew32 +# use gcc for linking, with ld it does not work +CC := gcc +LD := gcc +LN := +LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32 +LDFLAGS.EXTRA = -L/mingw/lib +WARN = -Wall -W +POPT = -O2 +BIN.SUFFIX = .exe +LIB.SONAME = lib$(NAME).dll +LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib +LIB.SHARED = $(NAME).dll +LIB.STATIC = lib$(NAME).a # the static lib will be broken +LDFLAGS.SO = -shared -Wl,-soname,$(LIB.SONAME) -Wl,--out-implib,lib/$(LIB.DEVLNK) +LIB.SONAME.MX = lib$(NAME)mx.dll +LIB.DEVLNK.MX = lib$(NAME)mx.dll.a # for mingw this is the dll import lib +LIB.SHARED.MX = $(NAME)mx.dll +LIB.STATIC.MX = lib$(NAME)mx.a # the static lib will be broken +LDFLAGS.SO.MX = -shared -Wl,-soname,$(LIB.SONAME.MX) -Wl,--out-implib,lib/$(LIB.DEVLNK.MX) |