diff --git a/examples/opengl_example/Makefile b/examples/opengl_example/Makefile new file mode 100644 index 000000000..6fd0b97c0 --- /dev/null +++ b/examples/opengl_example/Makefile @@ -0,0 +1,18 @@ +# +# Quick and dirty makefile to build on Linux +# tested on Ubuntu 14.04.1 32bit +# + +SRC = main.cpp ../../imgui.cpp + +OBJ = $(SRC:.cpp=.o) + +CXXFLAGS = -I../../ `pkg-config --cflags glfw3` + +LIBS = `pkg-config --static --libs glfw3` -lGLEW + +all: $(OBJ) + $(CXX) $(OBJ) $(LIBS) + +clean: + $(RM) -f $(OBJ)