Mac OS 10.10 FreeImage Library > 3.17 Makefile for OS X > 10.10 Yosemite and Xcode 6.x

This is a working FreeImage Library Makefile to support the library building process  within OS X...   [Tip] Make sure to correctly setup your MAC OS X Xcode SDK within this Makefile. Download Makefile.osx   # Mac OSX makefile for FreeImage # General configuration variables: CC_X86_64 = clang CPP_X86_64 = clang++ -stdlib=libc++ #CPP_X86_64 = clang++ -stdlib=libc++ COMPILERFLAGS = -Os -fexceptions -fvisibility=hidden -DNO_LCMS -D__ANSI__ -DDISABLE_PERF_MEASUREMENT COMPILERFLAGS_X86_64 = -arch x86_64 COMPILERPPFLAGS = -Wno-ctor-dtor-privacy INCLUDE += INCLUDE_X86_64 = -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk CFLAGS_X86_64 = $(COMPILERFLAGS) $(COMPILERFLAGS_X86_64) $(INCLUDE) $(INCLUDE_X86_64) CPPFLAGS_X86_64 = $(COMPILERPPFLAGS) $(CFLAGS_X86_64) LIBRARIES_X86_64 = -Wl,-syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk LIBTOOL = libtool LIPO = lipo TARGET = freeimage STATICLIB…

3 Comments