Add basic build scripts

This commit is contained in:
2024-01-14 16:50:15 +00:00
parent 99c6dbeecf
commit 0ed130b659
3 changed files with 15 additions and 0 deletions

9
compile Executable file
View File

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