Add build scripts

This commit is contained in:
Abdelrahman Said 2024-08-11 03:06:27 +01:00
parent 5f3ab8e0dd
commit eef603374e
2 changed files with 9 additions and 0 deletions

6
build Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# Silence annoying gRPC logs
export GRPC_VERBOSITY="ERROR"
bear -- ./compile

3
compile Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
(set -x ; clang -g $(pkg-config --cflags --libs sdl2) -lm main.c -o main)