Window with own structure

This commit is contained in:
2026-02-20 02:05:56 +00:00
parent eb79d538de
commit 294edcdcff
10 changed files with 93 additions and 42 deletions

View File

@@ -1,13 +1,13 @@
CFLAGS = -std=c++17 -O2
LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
VulkanTest: main.cpp
g++ $(CFLAGS) -o VulkanTest main.cpp $(LDFLAGS)
VulkanTest: *.cpp *.hpp
g++ $(CFLAGS) -o a.out *.cpp $(LDFLAGS)
.PHONY: test clean
test: VulkanTest
./VulkanTest
test: a.out
./a.out
clean:
rm -f VulkanTest
rm -f a.out