Index: .gitignore
===================================================================
--- .gitignore	(revision 11a48afd660868de5142d4f3174e9b57e0594fa8)
+++ .gitignore	(revision 5272b6b05d460df150e8214b62d11326d536211c)
@@ -1,2 +1,3 @@
+newgame
 game
 demo
Index: makefile
===================================================================
--- makefile	(revision 11a48afd660868de5142d4f3174e9b57e0594fa8)
+++ makefile	(revision 5272b6b05d460df150e8214b62d11326d536211c)
@@ -10,4 +10,7 @@
 endif
 
+newgame: new-game.cpp
+	$(CC) $? $(DEP) $(CFLAGS) -o $@
+
 game: mygame.cpp common/shader.cpp common/texture.cpp common/controls-new.cpp
 	$(CC) $? $(DEP) $(CFLAGS) -o $@
@@ -17,4 +20,5 @@
 
 clean:
+	rm -f newgame
 	rm -f game
 	rm -f demo
Index: new-game.cpp
===================================================================
--- new-game.cpp	(revision 5272b6b05d460df150e8214b62d11326d536211c)
+++ new-game.cpp	(revision 5272b6b05d460df150e8214b62d11326d536211c)
@@ -0,0 +1,35 @@
+#include <cstdio>
+#include <iostream>
+
+#include <GL/glew.h>
+#include <GLFW/glfw3.h>
+
+using namespace std;
+
+int main(int argc, char* argv[]) {
+   cout << "New OpenGL Game" << endl;
+
+   if (!glfwInit()) {
+      fprintf(stderr, "ERROR: could not start GLFW3\n");
+      return 1;
+   }	
+
+   GLFWwindow* window = glfwCreateWindow(640, 480, "Hello Triangle", NULL, NULL);
+   if (!window) {
+      fprintf(stderr, "ERROR: could not open window with GLFW3\n");
+      glfwTerminate();
+      return 1;
+   }
+   glfwMakeContextCurrent	(window);
+   glewExperimental = GL_TRUE;
+   glewInit();
+
+   const GLubyte* renderer = glGetString(GL_RENDERER);
+   const GLubyte* version = glGetString(GL_VERSION);
+   printf("Renderer: %s\n", renderer);
+   printf("OpenGL version supported %s\n", version);
+   glEnable(GL_DEPTH_TEST);
+   glDepthFunc(GL_LESS);
+   glfwTerminate();
+   return 0;
+}
