Window with own structure
This commit is contained in:
10
Makefile
10
Makefile
@@ -1,13 +1,13 @@
|
||||
CFLAGS = -std=c++17 -O2
|
||||
LDFLAGS = -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
|
||||
|
||||
VulkanTest: main.cpp
|
||||
g++ $(CFLAGS) -o VulkanTest main.cpp $(LDFLAGS)
|
||||
VulkanTest: *.cpp *.hpp
|
||||
g++ $(CFLAGS) -o a.out *.cpp $(LDFLAGS)
|
||||
|
||||
.PHONY: test clean
|
||||
|
||||
test: VulkanTest
|
||||
./VulkanTest
|
||||
test: a.out
|
||||
./a.out
|
||||
|
||||
clean:
|
||||
rm -f VulkanTest
|
||||
rm -f a.out
|
||||
|
||||
Reference in New Issue
Block a user