vlk/Makefile

14 lines
257 B
Makefile
Raw Normal View History

2023-03-18 23:13:52 +01:00
CFLAGS = -std=c++17 -O2
LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
vulkan-test: src/main.cpp
g++ $(CFLAGS) -o vulkan-test src/main.cpp $(LDFLAGS)
.PHONY: test clean
test: vulkan-test
./vulkan-test
clean:
rm -r vulkan-test