'SDL2/SDL.h' file not found mac
<p>I am trying to include the SDL library in my c++ project. I have installed the SDL2.framework and included it in Library/Frameworks. I have also run the following commands in the terminal:</p>

<pre><code>brew install SDL2
brew install SDL2_Image
</code></pre>

<p>However, when I try to compile using my makefile:</p>

<pre><code>OBJS=texture.cpp window.cpp

LFLAGS=-lSDL2 -lSDL2_image
CURRDIR=`pwd`
.PHONY: test

all: test

test: $(OBJS) test.o
    g++ -std=c++11 -Wall $(OBJS) test.o $(LFLAGS)

test.o: test.cpp
    g++ -c -std=c++11 -DSPRITEFILENAME="\"$(CURRDIR)/sprites.png\"" -Wall test.cpp -o test.o
</code></pre>

<p>I get the following error: </p>

<pre><code>./texture.h:7:10: fatal error: 'SDL2/SDL.h' file not found
#include &lt;SDL2/SDL.h&gt;
         ^
1 error generated.
make: *** [test.o] Error 1
</code></pre>

<p>Any help will be appreciated.</p>