Examples: Updated Makefile and batch files to work with new examples. Using lowercase "gl.h" as it seems this is what Linux wants.

This commit is contained in:
omar
2018-03-07 12:05:47 +01:00
parent f318f2d5ea
commit 19b92751b9
15 changed files with 29 additions and 17 deletions

View File

@ -15,7 +15,7 @@
#CXX = clang++
EXE = opengl3_example
SOURCES = main.cpp imgui_impl_glfw_gl3.cpp
SOURCES = main.cpp ../imgui_impl_glfw.cpp ../imgui_impl_opengl3.cpp
SOURCES += ../../imgui.cpp ../../imgui_demo.cpp ../../imgui_draw.cpp
SOURCES += ../libs/gl3w/GL/gl3w.c
OBJS = $(addsuffix .o, $(basename $(notdir $(SOURCES))))
@ -56,6 +56,9 @@ endif
%.o:%.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<
%.o:../%.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<
%.o:../../%.cpp
$(CXX) $(CXXFLAGS) -c -o $@ $<