test using the kompute library and possibly vulkan
kompute_tests/test1/Makefile

10 lines
278 B

1 year ago
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