Hello I am porting an application written in SFML on a linux platform to mac. With g++ typical LDFLAGS for SFML are -lsfml-audo -lsfml-graphics however when I installed SFML on my mac I noticed that it placed sfml-audio and sfml-graphics in some odd framework paths for use with xcode(which I am not going to use because I have a makefile for the code not an xcode project). I tried simply using absolute paths such as -l/Library/Frameworks/sfml-audio.framework/sfml-audio however g++ complained that it was not a library so I assumed it was not like sfml-audio on Linux based systems. If I could get any information on how to just get the library files for mac that would be great. Cheers.
Needed the -framework flag. Solved.