You should be able to just make this.
$ brew install sdl2
$ git clone https://github.com/dbrentley/sdl2-macos-c.git
$ cd sdl2-macos-c
$ make
$ ./out/sdl
You should be able to just make this.
$ brew install sdl2
$ git clone https://github.com/dbrentley/sdl2-macos-c.git
$ cd sdl2-macos-c
$ make
$ ./out/sdl