diff --git a/compile b/compile index 67a10f1..3cacbdd 100755 --- a/compile +++ b/compile @@ -3,7 +3,7 @@ CC=clang CFLAGS="-g -Wall $(pkg-config --cflags sdl2)" LIBS="$(pkg-config --libs sdl2)" -SRC=main.c +SRC=src/*.c OUT=main (set -x ; $CC $CFLAGS $LIBS $SRC -o $OUT) diff --git a/main.c b/src/main.c similarity index 100% rename from main.c rename to src/main.c