把 /usr/local/Cellar/sdl2 下面的 include 和 lib 拷贝到 myproject 下面
Makefile 的内容
game: g++ main.cpp -o play -I include -L lib -l SDL2-2.0.0
-I (i as in include) tells it additional include directories you want to add -L tells it additional library directories you want to add -l (lowercase l as in lib) tells it specific library binaries you want to add