aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-02-18 00:48:16 +1300
committerDavid Phillips <david@sighup.nz>2017-02-18 00:48:16 +1300
commitd356d2bea1a5c0012bf6ef746a90f86b2076d9c2 (patch)
treeeee34f17d35394da91e0d15c5889540de7fec46e /config.mk
parentea11f0c71f1617bbfdb5a5ef6644e34cb0192e29 (diff)
downloadfractal-gen-opencl-d356d2bea1a5c0012bf6ef746a90f86b2076d9c2.tar.xz
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.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
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