/c-sdl2-example

SDL2 Example project written in C.

Primary LanguageC

C SDL2 Example

A setup of SDL2 with all the libraries available in the project folder.

Setup

To compile the program use:

make

To run it:

./bin/main

To clear compiled files:

make clean

Tip

If VS Code is not detecting the path to SDL add them to the path by adding "${workspaceFolder}/include" in the Microsoft C/C++ Extension.

Examples

main.c

main.c

blank_window.c

blank_window.c