Let's take this snippet:
#include "SDL/SDL.h"
int main( int argc, char* args[] )
{
SDL_Init( SDL_INIT_EVERYTHING );
SDL_Quit();
return 0;
}
Compile command would be:
g++ -o myprogram mysource.cpp -lSDL
How can I 'include' SDL in my executable so that another enduser can execute it at once (without installing SDL or even recompiling my source) ?