- Timestamp:
- May 7, 2018, 5:33:46 PM (7 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 1c81bf0
- Parents:
- c1ca5b5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
rc1ca5b5 r1a616e6 1 1 OS = $(shell uname) 2 2 CC = g++ 3 CFLAGS = -std=c++0x -Wall -pedantic 3 CFLAGS = -std=c++0x -Wall -pedantic#-Wextra 4 4 5 5 ifeq ($(OS),Darwin) … … 10 10 endif 11 11 12 IMGUI_FILES = IMGUI/imgui_demo.cpp IMGUI/imgui_draw.cpp IMGUI/imgui.cpp 13 12 14 # If I were generating .o files as well, I should use $? instead of $^ 13 15 # as this well prevent regenerating .o files for unchanged .cpp files 14 16 15 newgame: new-game.cpp logger.cpp stb_image.cpp 17 newgame: new-game.cpp logger.cpp stb_image.cpp imgui_impl_glfw_gl3.cpp $(IMGUI_FILES) 16 18 $(CC) $^ $(DEP) $(CFLAGS) -o $@ 17 19
Note:
See TracChangeset
for help on using the changeset viewer.