Add basic build scripts

This commit is contained in:
abdelrahman committed 2024-01-14 16:50:15 +00:00
1 parent 99c6dbeecf
commit 0ed130b659
3 files changed
+15

No files matched your search

Executable
+9
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)