- Timestamp:
- Dec 5, 2020, 7:31:44 PM (4 years ago)
- Branches:
- feature/imgui-sdl, master
- Children:
- 670c09a
- Parents:
- e66fd66
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
re66fd66 r95c657f 17 17 endif 18 18 19 IMGUI_FILES = IMGUI/imgui _demo.cpp IMGUI/imgui_draw.cpp IMGUI/imgui.cpp19 IMGUI_FILES = IMGUI/imgui.cpp IMGUI/imgui_demo.cpp IMGUI/imgui_draw.cpp IMGUI/imgui_widgets.cpp 20 20 21 21 # If I were generating .o files as well, I should use $? instead of $^ 22 22 # as this well prevent regenerating .o files for unchanged .cpp files 23 23 24 openglref: new-game.cpp logger.cpp utils.cpp crash-logger.cpp imgui_impl_glfw_gl3.cpp $(IMGUI_FILES)25 $(CC) $^ $(DEP) $(CFLAGS) -o $@ 24 openglref: new-game.cpp logger.cpp utils.cpp crash-logger.cpp IMGUI/imgui_impl_glfw.cpp IMGUI/imgui_impl_opengl3.cpp $(IMGUI_FILES) 25 $(CC) $^ $(DEP) $(CFLAGS) -o $@ -DGLEW_STATIC 26 26 27 openglgame: main-opengl.cpp opengl-game.cpp crash-logger.cpp logger.cpp game-gui-glfw.cpp imgui_impl_glfw_gl3.cpp graphics-pipeline_opengl.cpp $(IMGUI_FILES)28 27 openglgame: main-opengl.cpp opengl-game.cpp crash-logger.cpp logger.cpp game-gui-glfw.cpp graphics-pipeline_opengl.cpp IMGUI/imgui_impl_glfw.cpp IMGUI/imgui_impl_opengl3.cpp $(IMGUI_FILES) 28 $(CC) $^ $(DEP) $(CFLAGS) -o $@ -DGLEW_STATIC 29 29 30 30 CXX_FLAGS = -std=c++17 -Wall -pedantic# -O3 -rdynamic
Note:
See TracChangeset
for help on using the changeset viewer.