Move Vulkan SDK path and GLSLC definition to .env file
This commit is contained in:
parent
633e6e5105
commit
1baa160012
|
|
@ -0,0 +1,2 @@
|
|||
VULKAN_SDK_PATH = /Users/wanghao/VulkanSDK/1.4.328.1/macOS
|
||||
GLSLC = $(VULKAN_SDK_PATH)/bin/glslc
|
||||
4
Makefile
4
Makefile
|
|
@ -1,5 +1,5 @@
|
|||
VULKAN_SDK_PATH = /Users/wanghao/VulkanSDK/1.4.328.1/macOS
|
||||
GLSLC = $(VULKAN_SDK_PATH)/bin/glslc
|
||||
include .env
|
||||
|
||||
CFLAGS = -std=c++17 -o2 -I. -I$(VULKAN_SDK_PATH)/include -I/opt/local/include
|
||||
LDFLAGS = -L$(VULKAN_SDK_PATH)/lib -L/opt/local/lib `pkg-config --static --libs glfw3` -lvulkan -ldl -lpthread -lX11
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue