ajout du makefile

This commit is contained in:
sigma 2025-08-14 15:18:28 +02:00
parent e0b8a0c08b
commit 031d946bfd
2 changed files with 12 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,4 +1,3 @@
/target /target
GLFW/ GLFW/
a.out ray-tracer
compile.sh

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
LDFLAGS =-I GLFW/include/GLFW -L /usr/lib/ -lglfw -lGL -lwayland-client -lwayland-cursor -lwayland-egl -lrt -ldl -lxkbcommon -lpthread
vulkan-test: main.cpp
g++ -o ray-tracer main.cpp $(LDFLAGS)
.PHONY: test clean
test: ray-tracer
./ray-tracer
clean:
rm -f ray-tracer