In the first case the command, look in the lib directory if you have libSDL.a, the static library. Some toolchain not have the static library, but you can use the dynamic version using `${TOOLCHAIN}/bin/sdl-config --libs` or -dynamic option in the compiler.
In the second case, the makefile I...