summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2024-02-04 14:43:37 +0000
committerAiden Gall <aiden@aidengall.xyz>2024-02-04 14:46:37 +0000
commitc44d2805ba480fc7c2faf8ae07f2c1c9febf7e34 (patch)
tree0171574e51da53dbe2664360949cc78259b2da0b /config.mk
parent5ff9d6184771970c14e682ecf55cbd9d27b2fada (diff)
render with raylib
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