ajout du makefile
This commit is contained in:
parent
e0b8a0c08b
commit
031d946bfd
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
/target
|
||||
GLFW/
|
||||
a.out
|
||||
compile.sh
|
||||
ray-tracer
|
||||
11
Makefile
Normal file
11
Makefile
Normal 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
|
||||
Loading…
x
Reference in New Issue
Block a user