From d356d2bea1a5c0012bf6ef746a90f86b2076d9c2 Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 18 Feb 2017 00:48:16 +1300 Subject: Add macro to set CL kernel source directory This will future-proof the software for installation to system roots, where the executable isn't being run in the source tree. --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 2c4b751..5b068e5 100644 --- a/config.mk +++ b/config.mk @@ -1,2 +1,2 @@ -CFLAGS += -I/usr/include/CL/ +CFLAGS += -I/usr/include/CL/ -DCL_SRC_DIR=\"./cl/\" LDFLAGS += -lOpenCL -- cgit v1.1