Examples: Ignore list a little more friendly to Unix systems.
This commit is contained in:
parent
5ebd61f89c
commit
da807e55ea
2
examples/.gitignore
vendored
2
examples/.gitignore
vendored
@ -15,10 +15,12 @@ opengl_example/Debug/*
|
|||||||
opengl_example/Release/*
|
opengl_example/Release/*
|
||||||
opengl_example/ipch/*
|
opengl_example/ipch/*
|
||||||
opengl_example/x64/*
|
opengl_example/x64/*
|
||||||
|
opengl_example/opengl_example
|
||||||
opengl3_example/Debug/*
|
opengl3_example/Debug/*
|
||||||
opengl3_example/Release/*
|
opengl3_example/Release/*
|
||||||
opengl3_example/ipch/*
|
opengl3_example/ipch/*
|
||||||
opengl3_example/x64/*
|
opengl3_example/x64/*
|
||||||
|
opengl3_example/opengl3_example
|
||||||
*.opensdf
|
*.opensdf
|
||||||
*.sdf
|
*.sdf
|
||||||
*.suo
|
*.suo
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#CXX = g++
|
#CXX = g++
|
||||||
|
|
||||||
|
EXE = opengl3_example
|
||||||
OBJS = main.o imgui_impl_glfw_gl3.o
|
OBJS = main.o imgui_impl_glfw_gl3.o
|
||||||
OBJS += ../../imgui.o ../../imgui_demo.o ../../imgui_draw.o
|
OBJS += ../../imgui.o ../../imgui_demo.o ../../imgui_draw.o
|
||||||
OBJS += ../libs/gl3w/GL/gl3w.o
|
OBJS += ../libs/gl3w/GL/gl3w.o
|
||||||
@ -41,12 +42,12 @@ endif
|
|||||||
.cpp.o:
|
.cpp.o:
|
||||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
all:imgui_example
|
all: $(EXE)
|
||||||
@echo Build complete for $(ECHO_MESSAGE)
|
@echo Build complete for $(ECHO_MESSAGE)
|
||||||
|
|
||||||
imgui_example:$(OBJS)
|
$(EXE): $(OBJS)
|
||||||
$(CXX) -o imgui_example $(OBJS) $(CXXFLAGS) $(LIBS)
|
$(CXX) -o $(EXE) $(OBJS) $(CXXFLAGS) $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm $(OBJS)
|
rm $(EXE) $(OBJS)
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
#CXX = g++
|
#CXX = g++
|
||||||
|
|
||||||
|
EXE = opengl_example
|
||||||
OBJS = main.o imgui_impl_glfw.o
|
OBJS = main.o imgui_impl_glfw.o
|
||||||
OBJS += ../../imgui.o ../../imgui_demo.o ../../imgui_draw.o
|
OBJS += ../../imgui.o ../../imgui_demo.o ../../imgui_draw.o
|
||||||
|
|
||||||
@ -40,12 +41,12 @@ endif
|
|||||||
.cpp.o:
|
.cpp.o:
|
||||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
all:imgui_example
|
all: $(EXE)
|
||||||
@echo Build complete for $(ECHO_MESSAGE)
|
@echo Build complete for $(ECHO_MESSAGE)
|
||||||
|
|
||||||
imgui_example:$(OBJS)
|
$(EXE): $(OBJS)
|
||||||
$(CXX) -o imgui_example $(OBJS) $(CXXFLAGS) $(LIBS)
|
$(CXX) -o $(EXE) $(OBJS) $(CXXFLAGS) $(LIBS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm $(OBJS)
|
rm $(EXE) $(OBJS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user