- Timestamp:
- Aug 29, 2019, 9:13:58 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 0df3c9a
- Parents:
- e8ebc76
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
re8ebc76 reba8c0c 42 42 endif 43 43 44 LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf glfw3`44 LIBS = `pkg-config --static --libs sdl2 sdl2_image sdl2_ttf` 45 45 ifeq ($(OS),Darwin) 46 46 LIBS := $(VULKAN_SDK_PATH)/lib/libvulkan.dylib $(LIBS) 47 47 endif 48 48 ifeq ($(OS),Linux) 49 LIBS = `pkg-config --static --libs sdl2 glfw3`49 LIBS = `pkg-config --static --libs sdl2` 50 50 LIBS := -lvulkan $(LIBS) -lSDL2_image -lSDL2_ttf # TODO: figure out how to statically link these, ideally using pkg-config 51 51 endif … … 53 53 LIB_FLAGS = $(LIB_PATHS) $(LIBS) 54 54 55 vulkangame: vulkan-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp55 vulkangame: vulkan-game.cpp game-gui-sdl.cpp 56 56 $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS) 57 57 58 spacegame: main.cpp space-game.cpp game-gui-sdl.cpp game-gui-glfw.cpp58 spacegame: main.cpp space-game.cpp game-gui-sdl.cpp 59 59 $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS) 60 60
Note:
See TracChangeset
for help on using the changeset viewer.