I am trying to compile a program on OS X using OpenEXR from the command line, via makefile, as opposed to Xcode. This same code compiles with Xcode, but gives me errors during the linking stage (I think) when I try to use a makefile.
I am not very familiar with makefiles. I've always just appropriated a makefile from elsewhere when I needed one. But I must have an include messed up somewhere. Does anyone have a suggestion of what's going wrong with the following makefile?
ImfRgbaFile.h, which includes writePixels(int) is in the /usr/local/include/OpenEXR/ path, which I have included in the LDFLAGS and the INCDIR (not really sure if I'm being redundant or not), but it doesn't work.