|
|
|
@ -2,7 +2,7 @@ ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
|
|
|
|
CFLAGS = -I $(ROOT_DIR)/include -I/usr/local/include -O0 -g -Wall -Wextra
|
|
|
|
|
LDFLAGS = -lfreetype -lz -lglfw -lvulkan -ldl -Xlinker -rpath -Xlinker /opt/homebrew/lib
|
|
|
|
|
|
|
|
|
|
SOURCES = src/main.c src/render.c src/vma.cpp src/pipeline.c src/command.c src/spng.c
|
|
|
|
|
SOURCES = src/main.c src/render.c src/pipeline.c src/command.c lib/spng.c lib/vma.cpp
|
|
|
|
|
OBJECTS = $(addsuffix .o, $(basename $(SOURCES)))
|
|
|
|
|
VERT_SPV = $(addsuffix .vert.spv, $(basename $(wildcard shader_src/*.vert)))
|
|
|
|
|
FRAG_SPV = $(addsuffix .frag.spv, $(basename $(wildcard shader_src/*.frag)))
|
|
|
|
|