Initial commit
This commit is contained in:
commit
b1720560a6
7 changed files with 913 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
VULKAN_SDK_PATH = /mnt/storage/Downloads/VulkanSDK/1.0.30.0/x86_64
|
||||
CFLAGS = -std=c++11 -I$(VULKAN_SDK_PATH)/include
|
||||
LDFLAGS = -L$(VULKAN_SDK_PATH)/lib -L/usr/local/lib -lglfw3 -lrt -lm -ldl -lXrandr -lXinerama -lXxf86vm -lXext -lXcursor -lXrender -lXfixes -lX11 -lpthread -lxcb -lXau -lvulkan
|
||||
|
||||
VulkanTest: main.cpp
|
||||
g++ $(CFLAGS) -g -o VulkanTest main.cpp $(LDFLAGS)
|
||||
|
||||
.PHONY: test clean
|
||||
|
||||
test: VulkanTest
|
||||
LD_LIBRARY_PATH=$(VULKAN_SDK_PATH)/lib VK_LAYER_PATH=$(VULKAN_SDK_PATH)/etc/explicit_layer.d ./VulkanTest
|
||||
|
||||
clean:
|
||||
rm -f VulkanTest
|
Loading…
Add table
Add a link
Reference in a new issue