Initial commit
This commit is contained in:
15
Hello_triangle/Makefile
Normal file
15
Hello_triangle/Makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
CFLAGS = -std=c++17 -O2
|
||||
LDFLAGS = -lglfw3 -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
|
||||
|
||||
VulkanTest: main.cpp
|
||||
g++ $(CFLAGS) -o VulkanTest main.cpp $(LDFLAGS)
|
||||
|
||||
.PHONY: test clean
|
||||
|
||||
test: VulkanTest
|
||||
./VulkanTest
|
||||
|
||||
clean:
|
||||
rm -f VulkanTest
|
||||
# For information on Makefile's check
|
||||
# https://makefiletutorial.com
|
||||
Reference in New Issue
Block a user