Minimum working example of Clay with the raylib renderer.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2024-12-25 16:13:21 -08:00
parent 86a9d305a6
commit 9c40af02c0
4 changed files with 60 additions and 0 deletions

14
build-and-run.sh Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/bash
set -ex
gcc -o pialarm src/main.c -Wall -Wno-missing-braces -Wunused-result -O2 \
-I. -I/usr/local/include \
-Iraylib-5.5/src -Iraylib-5.5/src/external \
-Iclay \
-lraylib -lGL -lm -lpthread -ldl -lrt -lX11 -latomic \
-L. -Lraylib-5.5/src -L/usr/local/lib \
-D_DEFAULT_SOURCE \
-DPLATFORM_DESKTOP -DPLATFORM_DESKTOP_GLFW
./pialarm