Skip to content

Instantly share code, notes, and snippets.

@ynaoto
Created March 14, 2013 06:07
Show Gist options
  • Save ynaoto/5159191 to your computer and use it in GitHub Desktop.
Save ynaoto/5159191 to your computer and use it in GitHub Desktop.
makefile.local to build GTPShogi OSI library on Mac OS-X Mountain Lion.
CXX = c++
GXX = $(CXX) # a quick and dirty hack to use clang compiler instead of gnu
INCLUDES += -I/opt/local/include/
LDFLAGS += -L/opt/local/lib/
#CPUOPTION = -march=core2
CPUOPTION = -march=native
#USE_TBB_SCALABLE_ALLOCATOR = 1
USE_TCMALLOC = 0
#LOADLIBES += -lboost_system -liconv
LOADLIBES += -liconv
#QMAKEENV = QMAKESPEC=macx-g++
#QMAKEPATH = /Developer/Tools/Qt
BOOST_POSTFIX_MT = -mt
BOOST_POSTFIX = -mt
RELEASE_CXX_OPTFLAGS =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment