Skip to content

Commit 021e8d0

Browse files
committed
Minor changes.
1 parent bb754c8 commit 021e8d0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
CC=gcc
44
LD=gcc
55
CFLAGS=-Wall
6-
#Add here the <path> of vaccel meson setup --prefix option
7-
VACCEL_INSTALL_PATH=
6+
VACCEL_INSTALL_PATH=(pkg-config --variable=prefix vaccel)
87
VACCEL_CFLAGS=-I${VACCEL_INSTALL_PATH}/include
98
VACCEL_LDFLAGS=-L${VACCEL_INSTALL_PATH}/lib/x86_64-linux-gnu -lvaccel -ldl
109
VADD_LDFLAGS=-L${PWD}/opencl_examples/build/vector_add -lvector_add
11-
OCL_LDFLAGS=-L/usr/lib/x86_64-linux-gnu/ -lOpenCL
10+
OCL_LDFLAGS=(pkg-config --libs OpenCL)
1211

1312

1413
all: wrapper wrapper-args wrapper-vaccel wrapper-args-vaccel

0 commit comments

Comments
 (0)