From 55edd522c2788ba6461e6cd7e4cac499001f2ccb Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 14 Mar 2015 11:24:53 +0000 Subject: [PATCH] Examples: Fixed Makefile --- examples/opengl3_example/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/opengl3_example/Makefile b/examples/opengl3_example/Makefile index 208d279f..4357e331 100644 --- a/examples/opengl3_example/Makefile +++ b/examples/opengl3_example/Makefile @@ -10,8 +10,9 @@ #CXX = g++ -OBJS = main.o imgui_impl_glfw_gl3.o gl3w/GL/gl3w.o +OBJS = main.o imgui_impl_glfw_gl3.o OBJS += ../../imgui.o +OBJS += ../libs/gl3w/GL/gl3w.o UNAME_S := $(shell uname -s) @@ -31,7 +32,7 @@ ifeq ($(UNAME_S), Darwin) #APPLE LIBS += -L/usr/local/lib LIBS += -lglfw3 - CXXFLAGS = -I../../ -Igl3w -I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/include + CXXFLAGS = -I../../ -I../libs/gl3w -I/usr/local/Cellar/glew/1.10.0/include -I/usr/local/include CXXFLAGS += -Wall # CXXFLAGS += -D__APPLE__ CFLAGS = $(CXXFLAGS)