- Timestamp:
- Jun 10, 2020, 2:36:24 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master
- Children:
- 699e83a
- Parents:
- 4e705d6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
r4e705d6 re1f88a9 45 45 endif 46 46 47 LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf `47 LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf sdl2_gfx` 48 48 ifeq ($(OS),Darwin) 49 49 LIBS := $(VULKAN_SDK_PATH)/lib/libvulkan.dylib $(LIBS) … … 51 51 ifeq ($(OS),Linux) 52 52 LIBS = `pkg-config --static --libs sdl2` 53 LIBS := -lvulkan $(LIBS) -lSDL2_image -lSDL2_ttf # TODO: figure out how to statically link these, ideally using pkg-config53 LIBS := -lvulkan $(LIBS) -lSDL2_image -lSDL2_ttf -lSDL2_gfx # TODO: figure out how to statically link these, ideally using pkg-config 54 54 endif 55 55 … … 59 59 $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS) -DGAMEGUI_INCLUDE_VULKAN 60 60 61 SRC_FILES = main-vulkan.cpp vulkan-game.cpp crash-logger.cpp logger.cpp vulkan-utils.cpp utils.cpp game-gui-sdl.cpp 62 HEADER_FILES = vulkan-game.hpp crash-logger.hpp logger.hpp vulkan-utils.hpp utils.hpp game-gui-sdl.hpp game-gui.hpp graphics-pipeline_vulkan.hpp 61 GUI_SRC_FILES = gui/screen.cpp gui/main-screen.cpp gui/ui-element.cpp gui/button.cpp 62 GUI_HEADER_FILES = gui/screen.hpp gui/main-screen.hpp gui/ui-element.hpp gui/button.hpp 63 64 SRC_FILES = main-vulkan.cpp vulkan-game.cpp crash-logger.cpp logger.cpp vulkan-utils.cpp utils.cpp game-gui-sdl.cpp $(GUI_SRC_FILES) 65 HEADER_FILES = vulkan-game.hpp crash-logger.hpp logger.hpp vulkan-utils.hpp utils.hpp game-gui-sdl.hpp game-gui.hpp graphics-pipeline_vulkan.hpp $(GUI_HEADER_FILES) 63 66 64 67 vulkangame: $(SRC_FILES) $(HEADER_FILES)
Note:
See TracChangeset
for help on using the changeset viewer.