diff --git a/examples/opengl_example/Makefile b/examples/opengl_example/Makefile index 7986229fc..116dbabff 100644 --- a/examples/opengl_example/Makefile +++ b/examples/opengl_example/Makefile @@ -38,6 +38,15 @@ ifeq ($(UNAME_S), Darwin) #APPLE CFLAGS = $(CXXFLAGS) endif +ifeq ($(UNAME_S), MINGW64_NT-6.3) + ECHO_MESSAGE = "Windows" + LIBS = -lglfw3 -lgdi32 -lopengl32 -limm32 + + CXXFLAGS = -I../../ -I../libs/gl3w `pkg-config --cflags glfw3` + CXXFLAGS += -Wall -Wformat + CFLAGS = $(CXXFLAGS) +endif + .cpp.o: $(CXX) $(CXXFLAGS) -c -o $@ $<