- Timestamp:
- Jul 2, 2019, 1:54:30 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- ab65f84
- Parents:
- f898c5f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
makefile
rf898c5f r826df16 34 34 $(CC) $^ $(DEP) $(CFLAGS) -o $@ 35 35 36 # from the mac makefile 37 #CXX_INCLUDES = -I/Users/dportnoy15/Development/vulkan-sdk-macos-1.1.108.0/macOS/include -I/usr/local/Cellar/sdl2/2.0.9_1/include/SDL2 38 #LIBFLAGS = -Wl,-rpath,$(VULKAN_SDK_PATH)/macOS/lib $(VULKAN_SDK_PATH)/macOS/lib/libvulkan.dylib -L/usr/local/Cellar/sdl2/2.0.9_1/lib -lSDL2 39 40 CXX_FLAGS = -std=c++17 -Wall -pedantic # -O3 41 36 42 VULKAN_SDK_PATH = /home/dportnoy/Desktop/VulkanSDK/1.1.106.0/x86_64 37 CFLAGS_VULKAN = -std=c++17 -I$(VULKAN_SDK_PATH)/include -Wall -pedantic38 #LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib `pkg-config --static --libs glfw3` -lvulkan39 LIBFLAGS = -L$(VULKAN_SDK_PATH)/lib -lvulkan -lSDL240 43 41 vulkangame: new-vulkan-game.cpp 42 $(CC) $(CFLAGS_VULKAN) -o $@ $^ $(LIBFLAGS) 44 LIB_PATHS = -L$(VULKAN_SDK_PATH)/lib -I$(VULKAN_SDK_PATH)/include 45 LIBS = -lvulkan -lSDL2 46 47 LIB_FLAGS = $(LIB_PATHS) $(LIBS) 48 49 vulkangame: vulkan-game.cpp game-gui-sdl.cpp 50 $(CC) $(CXX_FLAGS) -o $@ $^ $(LIB_FLAGS) 43 51 44 52 clean:
Note:
See TracChangeset
for help on using the changeset viewer.