First commit from Arch

This commit is contained in:
2026-01-28 19:22:50 -05:00
parent 15b3e294b5
commit ab28c22446
18 changed files with 54 additions and 11 deletions

18
Makefile Normal file
View File

@@ -0,0 +1,18 @@
CXX = g++
CFLAGS = -std=c++20 -O2 -Wall -Wextra -I./include
LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
TARGET := LearningVulkan
$(TARGET): ./src/main.cpp
$(CXX) $(CFLAGS) -o $(TARGET) ./src/main.cpp $(LDFLAGS)
.PHONY: test clean
test: $(TARGET)
./$(TARGET)
clean:
rm -f $(TARGET)