csalmeida / c-sdl2-example

SDL2 Example project written in C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

SDL2 Example project written in C.


Languages

Language:C 97.3%Language:C++ 1.3%Language:CMake 0.8%Language:Objective-C 0.4%Language:Shell 0.1%Language:Makefile 0.0%