Create project skeleton

This commit is contained in:
2024-10-24 11:37:33 +01:00
commit 64c3aaf077
7 changed files with 46 additions and 0 deletions

10
scripts/build.sh Normal file
View File

@@ -0,0 +1,10 @@
cd "$(git rev-parse --show-toplevel)"
CFLAGS="$CFLAGS -std=c11 -pedantic -Wall -Wextra"
CFLAGS="$CFLAGS -Og -ggdb"
mkdir -p build
# Build application
clang $CFLAGS -c -o build/main.o app/main.c
clang $CFLAGS -o build/infix-calculator build/main.o