SDL (Simple DirectMedia Layer)/Basics/Getting started in Linux

Install the development libraries of SDL from the official repositories of your Linux distribution.

Terminal
The argument  means after compiling   with , the binary  , named using the   argument, is linked to the SDL 2 runtime libraries.

NOTE: Linking the binary to SDL 1.2 libraries requires the  argument.

To continue using the terminal to build your source, you can use GNU Make, CMake or a plain Makefile.

Code::Blocks
|.