The SDL tutorial examples get from http://lazyfoo.net/SDL_tutorials/index.php. You also can find a Chinese tutorial from http://tjumyk.github.com/sdl-tutorial-cn/index.html. I just add two Makefile to sdl-tutorial so that we can easy to compile and study. On Linux system can compile sucess.
1.How to download the code?
$ git clone https://github.com/txgcwm/sdl-tutorial.git
2.How to compile?
$ make
3.How to test the example?
For example, we want to test lesson01 example.
$ cd lesson01/
$ ./lesson01
Tutorial Links: