1#--- $Id: make.darwin.x86_64.gnu.opt,v 1.8 2014/03/03 08:36:28 bzfkocht Exp $
2CPPFLAGS        +=      -DNDEBUG -DNO_MSHELL -D__NO_MATH_INLINES
3CFLAGS		+=	-O3 -m64
4LDFLAGS         =       -lgmp -lm
5
6ifeq ($(LINK),shared)
7#LIBRARY		=	$(LIBDIR)/lib$(LIBNAME).so
8#LIBLINK		=	$(LIBDIR)/lib$(NAME).$(BASE).so
9CFLAGS		+=	-fPIC
10#AR		=	gcc -m64 -shared -o # the trailing space is important
11#ARFLAGS		=       $(LDFLAGS)
12#RANLIB		=	true
13endif
14
15#ifeq ($(LINK),static)
16LDFLAGS		=	-Bstatic -lgmp -lm
17#endif
18
19ifeq ($(ZLIB),true)
20LDFLAGS		+=	-lz
21endif
22
23