speedcat/build_test.sh
Slendi 1caebf3295 Do stuff
I forgor

Signed-off-by: Slendi <slendi@socopon.com>
2024-04-10 11:34:43 +03:00

10 lines
345 B
Bash
Executable File

#!/bin/sh
set -xe
LLVMC=llvm-config
LLVM_LINKER="-lc++ $($LLVMC --libs core --cxxflags --ldflags --system-libs|tr '\n' ' ')"
odin run src -o:none -debug -out:speedcat -extra-linker-flags:"$LLVM_LINKER" -- pong.cat
clang -I/opt/local/include -L/opt/local/lib -lraylib -lm -framework Cocoa -framework OpenGL -framework IOKit pong.ll -o raylib