Okay, so I've just started using Vim with C++. I'm coming from using Java with an IDE so this 'no IDE' thing is all new to me. I've figured out how to use make files to build my projects and I just discovered SDL and I want to start working with it. How do I use it with no 'file->include->library' like option you get in an IDE? All the tutorials I find tell you how to use it with an IDE, but I don't want to use an IDE because I like Vim and makefiles much better. If someone could explain what I need to do to include libraries in my projects that would be great.
It will look for include files automatically in the default directories. Add extra paths using I (uppercase 'i').
To link to a library, use -l (Lowercase 'L') and the libraries name. The linker will look for libNAME.a in all of the default paths. You can give it extra paths using -L.