skipping incompatable .a files

Hi! I am really struggling to get my first SDL file to compile.

I am following this tutorial and I am using windows with vscode: SDL-2-Tutorials/Tutorial 001_Setup/Windows/Visual Studio Code/SDLTemplate at master · SonarSystems/SDL-2-Tutorials · GitHub

I’m able to run the make command, but not able to successfully compile my main file. I’m getting errors about missing incompatible .a files even though I totally have them in my src folder in the root of my vscode file for this project. Even when I copy and paste files from tutorials, I still get this error.

Here is the terminal output when I run my makefile: If anyone has any ideas, please let me know. Thanks in advance!
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2main.a when searching for -lSDL2main
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib\libSDL2main.a when searching for -lSDL2main
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2main.a when searching for -lSDL2main
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL2main
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2main.a when searching for -lSDL2main
…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible …/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2.dll.a when searching for -lSDL2
src/lib\libSDL2.a when searching for -lSDL2 …/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2.a when searching for -lSDL2
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib\libSDL2.a when searching for -lSDL2…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible …/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2.dll.a when searching for -lSDL2
src/lib/libSDL2.dll.a when searching for -lSDL2 …/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2.a when searching for -lSDL2
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL2…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible …/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2.dll.a when searching for -lSDL2
src/lib/libSDL2.a when searching for -lSDL2 …/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible src/lib/libSDL2.a when searching for -lSDL2
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL2
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible
src/lib/libSDL2.dll.a when searching for -lSDL2
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/11.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: skipping incompatible
src/lib/libSDL2.a when searching for -lSDL2
collect2.exe: error: ld returned 1 exit status
make: *** [all] Error 1

#define SDL_MAIN_HANDLED

add at the beginning of the program

this did not work, unfortunately :[