kompute_tests/test2/Makefile

13 lines
287 B
Makefile
Raw Normal View History

2023-12-06 11:23:01 +01:00
CPPFLAGS = -Wall -Wextra -g
# link kompute as a static library and the rest as dynamic
2023-12-07 16:25:54 +01:00
LDFLAGS = -L/usr/local/lib \
-Wl,-Bstatic -lkompute -lkp_logger \
-Wl,-Bdynamic -lvulkan -lfmt \
-Wl,--as-needed
2023-12-06 11:23:01 +01:00
test2: main.cpp
g++ ${CPPFLAGS} main.cpp -o test2 ${LDFLAGS}
clean:
rm -f test2