mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-10 22:23:34 +00:00
12 lines
223 B
Bash
Executable File
12 lines
223 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -e a.out ]; then
|
|
rm a.out
|
|
fi
|
|
|
|
if [ $(uname -s) = 'Darwin' ]; then
|
|
clang main.c ../libmlx.dylib -L /opt/homebrew/lib -lSDL2 -lm -g;
|
|
else
|
|
clang main.c ../libmlx.so -lSDL2 -lm -g -Wall -Wextra -Werror;
|
|
fi
|