CPPFLAGS = -Wall -Wextra -g # link kompute as a static library and the rest as dynamic LDFLAGS = -L/usr/local/lib -Wl,-Bstatic -lkompute -lkp_logger -Wl,-Bdynamic -lvulkan -lfmt -Wl,--as-needed test1: main.cpp g++ ${CPPFLAGS} main.cpp -o test1 ${LDFLAGS} clean: rm -f test1