We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb754c8 commit 021e8d0Copy full SHA for 021e8d0
app/Makefile
@@ -3,12 +3,11 @@
3
CC=gcc
4
LD=gcc
5
CFLAGS=-Wall
6
-#Add here the <path> of vaccel meson setup --prefix option
7
-VACCEL_INSTALL_PATH=
+VACCEL_INSTALL_PATH=(pkg-config --variable=prefix vaccel)
8
VACCEL_CFLAGS=-I${VACCEL_INSTALL_PATH}/include
9
VACCEL_LDFLAGS=-L${VACCEL_INSTALL_PATH}/lib/x86_64-linux-gnu -lvaccel -ldl
10
VADD_LDFLAGS=-L${PWD}/opencl_examples/build/vector_add -lvector_add
11
-OCL_LDFLAGS=-L/usr/lib/x86_64-linux-gnu/ -lOpenCL
+OCL_LDFLAGS=(pkg-config --libs OpenCL)
12
13
14
all: wrapper wrapper-args wrapper-vaccel wrapper-args-vaccel
0 commit comments