1CPPFLAGS	+=	-DNDEBUG -DNO_MSHELL -D__NO_MATH_INLINES
2CFLAGS		=	-O3
3LDFLAGS		=	-lgmp -lm
4
5ifeq ($(LINK),shared)
6#LIBRARY		=	$(LIBDIR)/lib$(LIBNAME).so
7#LIBLINK		=	$(LIBDIR)/lib$(NAME).$(BASE).so
8CFLAGS		+=	-fPIC
9#AR		=	gcc -m32 -shared -o # the trailing space is important
10#ARFLAGS		=       $(LDFLAGS)
11#RANLIB		=	true
12endif
13
14#ifeq ($(LINK),static)
15LDFLAGS		=	-Bstatic -lgmp -lm
16#endif
17
18ifeq ($(ZLIB),true)
19LDFLAGS		+=	-lz
20endif
21
22