update buid.sh

This commit is contained in:
Namonay
2024-01-09 01:01:31 +01:00
parent 44d76a3b9e
commit f9d1234642

View File

@@ -1,5 +1,9 @@
#!/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 -g;
else