Changeset eba8c0c in opengl-game for makefile


Ignore:
Timestamp:
Aug 29, 2019, 9:13:58 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
0df3c9a
Parents:
e8ebc76
Message:

Expand on the upgrade TODO list and remove game-gui-glfw as a dependency from vulkangame and spacegame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • makefile

    re8ebc76 reba8c0c  
    4242endif
    4343
    44 LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf glfw3`
     44LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf`
    4545ifeq ($(OS),Darwin)
    4646        LIBS := $(VULKAN_SDK_PATH)/lib/libvulkan.dylib $(LIBS)
    4747endif
    4848ifeq ($(OS),Linux)
    49         LIBS = `pkg-config --static --libs sdl2 glfw3`
     49        LIBS = `pkg-config --static --libs sdl2`
    5050        LIBS := -lvulkan $(LIBS) -lSDL2_image -lSDL2_ttf # TODO: figure out how to statically link these, ideally using pkg-config
    5151endif
     
    5353LIB_FLAGS = $(LIB_PATHS) $(LIBS)
    5454
    55 vulkangame: vulkan-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp
     55vulkangame: vulkan-game.cpp game-gui-sdl.cpp
    5656        $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS)
    5757
    58 spacegame: main.cpp space-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp
     58spacegame: main.cpp space-game.cpp game-gui-sdl.cpp
    5959        $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS)
    6060
Note: See TracChangeset for help on using the changeset viewer.