|
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
|
|
|
|
test2: main.cpp
|
|
g++ ${CPPFLAGS} main.cpp -o test2 ${LDFLAGS}
|
|
|
|
clean:
|
|
rm -f test2
|
|
|