Files
MacroLibX/test/run.sh
2023-12-12 17:47:10 +01:00

9 lines
196 B
Bash
Executable File

#!/bin/bash
echo $(uname -s)
if [ $(uname -s) = 'Darwin' ]; then
clang main.c ../libmlx.dylib -L /opt/homebrew/lib -lSDL2 -g && ./a.out;
else
clang main.c ../libmlx.so -lSDL2 -g && ./a.out;
fi