Setup build process

This commit is contained in:
2023-08-15 19:54:39 +01:00
parent 290b5e52fc
commit 539f8ed200
3 changed files with 99 additions and 0 deletions

9
compile Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
CC=clang
CFLAGS="-g -Wall -Werror -pedantic"
LIBS="-lSDL2"
SRC="main.c"
OUT="main"
(set -x ; $CC $CFLAGS $LIBS $SRC -o $OUT)