1
0
Files
LearnVulkan/Hello_triangle/Makefile
2021-10-15 22:14:57 +01:00

16 lines
314 B
Makefile

CFLAGS = -std=c++17 -O2
LDFLAGS = -lglfw3 -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
VulkanTest: main.cpp
g++ $(CFLAGS) -o VulkanTest main.cpp $(LDFLAGS)
.PHONY: test clean
test: VulkanTest
./VulkanTest
clean:
rm -f VulkanTest
# For information on Makefile's check
# https://makefiletutorial.com