diff --git a/.gitignore b/.gitignore index 0906c29..b77eff0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /target GLFW/ -a.out -compile.sh \ No newline at end of file +ray-tracer \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..79b1ad6 --- /dev/null +++ b/Makefile @@ -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