summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 69656f9..b278d8d 100644
--- a/config.mk
+++ b/config.mk
@@ -4,12 +4,12 @@ PREFIX = /usr/local
CC = gcc
-LIBS = -lOpenCL
+LDLIBS = -lOpenCL -lraylib -lm
CFLAGS = -std=c89 -pedantic -Wall -Wextra -O2 -pipe \
-DCL_TARGET_OPENCL_VERSION=210 -D_POSIX_C_SOURCE=200809L
-LDFLAGS = -Wl,-O1,--sort-common,--as-needed ${LIBS}
+LDFLAGS = -Wl,-O1,--sort-common,--as-needed
CLFLAGS = -target spir64 -emit-llvm -Xclang -finclude-default-header -O3 \
-cl-std=CL1.2 -Wall -Wextra