Permalink
Browse files

Updated gl/Makefile to support building in Windows/MinGW environment.

  • Loading branch information...
1 parent 0f76a20 commit 98b8da11c578740c0a31f0569604c757a7440305 @alotabits alotabits committed Jul 6, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 gl/Makefile
View
@@ -12,6 +12,8 @@ CGOFILES:=gl.go
ifeq ($(GOOS),darwin)
CGO_LDFLAGS:=-framework OpenGL -lGLEW -lGL
+else ifeq ($(GOOS),windows)
+CGO_LDFLAGS:=-lglew32 -lopengl32
else
CGO_LDFLAGS:=-lGLEW -lGL
endif

0 comments on commit 98b8da1

Please sign in to comment.