Added validation layer injection, working on message callbacks per the vulkan docs
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,5 +1,6 @@
|
||||
CPPFLAGS=-g
|
||||
CPPFLAGS=-g
|
||||
LDFLAGS=-lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
|
||||
DEBUGFLAGS=-DDEBUG
|
||||
SRC=$(shell find . -name *.cpp)
|
||||
OBJ=$(SRC:%.cpp=%.o)
|
||||
|
||||
@@ -12,6 +13,10 @@ all: $(BIN)
|
||||
.PHONY: run
|
||||
run: $(BIN)
|
||||
./$(BIN)
|
||||
.PHONY: debug
|
||||
debug: LDFLAGS+=$(DEBUGFLAGS)
|
||||
debug: $(BIN)
|
||||
./$(BIN)
|
||||
.PHONY: dep
|
||||
dep:
|
||||
sudo pacman -S gcc glfw glm shaderc libxi libxxf86vm
|
||||
|
Reference in New Issue
Block a user