This repository should help me track my progress of following the SDL2 tutorials at <http://lazyfoo.net>. If you're following the tutorials at <http://lazyfoo.net> this should help you too.

### Development Environment
**Operating System:** OSX 10.11.6   
**Compiler:** Clang   
**Text Editor:** Visual Studio Code

#### Setting up a mac for development

1. Run `xcode-select --install` on the terminal. (I had to run this again after upgrading OSX to El Capitan)
1. Install [homebrew](http://brew.sh)
1. Install SDL2 by typing `brew install sdl2`
1. Install Visual Studio Code (or any other text editor of your choice)
1. Done! You should be able to compile a file with SDL2 code using the command: `clang++ filename.cpp -lSDL2 -g`

### Using this repo

1. Clone the repository (or download a ZIP)
1. The code for the individual tutorials are in separate folders. `cd` to the folder you'd like to build.
1. Use `make` to build the tutorial code
1. Use `./a.out` to run the code
This repository should help me track my progress of following the SDL2 tutorials at <http://lazyfoo.net>. If you're following the tutorials at <http://lazyfoo.net> this should help you too.

### Development Environment
**Operating System:** OSX 10.11.6   
**Compiler:** Clang   
**Text Editor:** Visual Studio Code

#### Setting up a mac for development

1. Run `xcode-select --install` on the terminal. (I had to run this again after upgrading OSX to El Capitan)
1. Install [homebrew](http://brew.sh)
1. Install SDL2 by typing: `brew install sdl2 --universal`
1. Install Visual Studio Code (or any other text editor of your choice)
1. Done! You should be able to compile SDL2 code with: `clang++ filename.cpp -lSDL2 -g`

### Using this repo

1. Clone the repository (or download a ZIP)
1. The code for the individual tutorials are in separate folders. `cd` to the folder you'd like to build.
1. Use `make` to build the tutorial code
1. Use `./a.out` to run the code
Use --universal flag for installing SDL2
Use --universal flag for installing SDL2
