mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-06-03 07:08:15 +02:00
fixing CI
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $(uname -s) = 'Darwin' ]; then
|
||||
clang main.c ../libmlx.dylib -L /opt/homebrew/lib -lSDL2 -g;
|
||||
else
|
||||
clang main.c ../libmlx.so -lSDL2 -g;
|
||||
fi
|
||||
|
||||
+2
-5
@@ -1,7 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
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
|
||||
bash ./build.sh
|
||||
./a.out
|
||||
|
||||
Reference in New Issue
Block a user