From eef603374e8db387e7e4f51a8f385b1996caf046 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sun, 11 Aug 2024 03:06:27 +0100 Subject: [PATCH] Add build scripts --- build | 6 ++++++ compile | 3 +++ 2 files changed, 9 insertions(+) create mode 100755 build create mode 100755 compile diff --git a/build b/build new file mode 100755 index 0000000..9ee9cd1 --- /dev/null +++ b/build @@ -0,0 +1,6 @@ +#!/bin/bash + +# Silence annoying gRPC logs +export GRPC_VERBOSITY="ERROR" + +bear -- ./compile diff --git a/compile b/compile new file mode 100755 index 0000000..fb57ecc --- /dev/null +++ b/compile @@ -0,0 +1,3 @@ +#!/bin/bash + +(set -x ; clang -g $(pkg-config --cflags --libs sdl2) -lm main.c -o main)