# Shave and a Haircut # (c) 2019 Epic Games # US Patent 6720962 # This file should be included in all of our OS X makefiles ifndef DEVELOPER_DIR $(error DEVELOPER_DIR not defined. Did you source getosxvars.sh first?) endif CFLAGS = C++FLAGS = LDFLAGS = LFLAGS= CC = gcc C++ = g++ LD = g++ # Starting with OS 10.9 (Mavericks) the standard c++ library is libc++ not # libstdc++. Maya plugins still require the latter, so we must explicitly # specify it. # ifeq ($(shell echo "$(MACOSX_DEPLOYMENT_TARGET) >= 10.9" | bc),1) C++FLAGS = -stdlib=libstdc++ LDFLAGS = -stdlib=libstdc++ endif # Some Makefiles use LFLAGS rather than LDFLAGS. # LFLAGS = $(LDFLAGS)