Add build scripts

This commit is contained in:
Abdelrahman Said 2024-07-19 21:56:45 +01:00
parent 6023cdd756
commit 9131f19c95
2 changed files with 11 additions and 0 deletions

3
build Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
bear -- ./compile

8
compile Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
CC=clang
CFLAGS="-g -Isrc"
SRC="src/*.c"
OUT=tiny
(set -x ; $CC $CFLAGS $SRC -o $OUT)