diff --git a/examples/opengl_example/Makefile b/examples/opengl_example/Makefile deleted file mode 100644 index 6fd0b97..0000000 --- a/examples/opengl_example/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# -# 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) diff --git a/examples/opengl_example/Makefile b/examples/opengl_example/Makefile deleted file mode 100644 index 6fd0b97..0000000 --- a/examples/opengl_example/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -# -# 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) diff --git a/examples/opengl_example/Makefile.Linux b/examples/opengl_example/Makefile.Linux new file mode 100644 index 0000000..6fd0b97 --- /dev/null +++ b/examples/opengl_example/Makefile.Linux @@ -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)