vlk/Makefile

14 lines
257 B
Makefile

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