about summary refs log blame commit diff stats
path: root/lua/sandborb/build.sh
blob: b3d865658509bde0cb1c8d466357bebb296111a9 (plain) (tree)
1
2
3
4
5
6
7


                     
            

  
                                                                                                                            





                       
#!/usr/bin/env sh

if [ -f a.out ]; then
    rm a.out
fi

cc ./src/sandborb.c ./src/sandbird.c -I /opt/homebrew/include/lua5.4 ./src/sandbird.h -std=c99 -pedantic -Wall -Wextra -llua

if [ -f a.out ]; then
    ./a.out
else
    echo "Build failed"
fi