Minimum working example of Clay with the raylib renderer.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
86a9d305a6
commit
9c40af02c0
4 changed files with 60 additions and 0 deletions
14
build-and-run.sh
Executable file
14
build-and-run.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue