title: OpenCL header file difficulty
body: <p>So I am trying to set up a way to easily develop OpenCL programs which turned out to be the hardest part of learning this language so far. I include CL/cl.h in my source files but I keep getting compiler errors that the headers don't exist. When I change the include to only be cl.h it works but every program I have seen so far uses CL/cl.h so I am assuming it is some sort of macro to allow either file. Any ideas how I can get around this or possible fixes?</p>
  
  <p>This is my makefile</p>
  
  <p>PROJ=ocl_intro</p>
  
  <p>CC=mingw32-g++</p>
  
  <p>CFLAGS=-std=c99 -Wall</p>
  
  <p>LIB=-lOpenCL</p>
  
  <p>ifdef INTELOCLSDKROOT</p>
  
  <pre><code>INC_DIRS="$(INTELOCLSDKROOT)include\CL"
  
  LIB_DIRS="$(INTELOCLSDKROOT)lib\x86
  </code></pre>
  
  <p>endif</p>
  
  <p>$(PROJ): $(PROJ).cpp</p>
  
  <pre><code>$(CC) $(CFLAGS) -o $@ $^ -I$(INC_DIRS) -L$(LIB_DIRS) $(LIB)
  </code></pre>
  
  <p>.PHONY: clean</p>
  
  <p>clean:</p>
  
  <pre><code>rm $(PROJ).exe
  </code></pre>