fixing things

This commit is contained in:
Kbz-8
2025-01-07 01:20:26 +01:00
parent aa345c7e38
commit 54b45824b3
21 changed files with 242 additions and 199 deletions

11
in_depth_features/build.sh git.filemode.executable_file
View File

@@ -0,0 +1,11 @@
#!/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 -g -Wall -Wextra -Werror -lm;
fi