Changeset 1a616e6 in opengl-game for makefile


Ignore:
Timestamp:
May 7, 2018, 5:33:46 PM (6 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
1c81bf0
Parents:
c1ca5b5
Message:

Remove the ImGui example since it has been integrated into the main project, and update the makefile to build the Linux and OSX app with the newly-added ImGui code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makefile

    rc1ca5b5 r1a616e6  
    11OS = $(shell uname)
    22CC = g++
    3 CFLAGS = -std=c++0x -Wall -pedantic #-Wextra
     3CFLAGS = -std=c++0x -Wall -pedantic#-Wextra
    44
    55ifeq ($(OS),Darwin)
     
    1010endif
    1111
     12IMGUI_FILES = IMGUI/imgui_demo.cpp IMGUI/imgui_draw.cpp IMGUI/imgui.cpp
     13
    1214# If I were generating .o files as well, I should use $? instead of $^
    1315# as this well prevent regenerating .o files for unchanged .cpp files
    1416
    15 newgame: new-game.cpp logger.cpp stb_image.cpp
     17newgame: new-game.cpp logger.cpp stb_image.cpp imgui_impl_glfw_gl3.cpp $(IMGUI_FILES)
    1618        $(CC) $^ $(DEP) $(CFLAGS) -o $@
    1719
Note: See TracChangeset for help on using the changeset viewer.