File: make.linux.x86.gnu.valgrind

package info (click to toggle)
zimpl 3.7.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,772 kB
  • sloc: ansic: 21,719; yacc: 993; lex: 370; sh: 349; makefile: 278
file content (21 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#--- $Id: make.linux.x86.gnu.valgrind,v 1.12 2014/03/03 08:36:28 bzfkocht Exp $
CPPFLAGS	+=	-DNDEBUG -DNO_MSHELL -DFREEMEM -D__NO_MATH_INLINES 
CFLAGS		=	-m32 -O3 -ffp-contract=off -march=pentiumpro -g -std=gnu99
LDFLAGS		=	-lgmp -lm

ifeq ($(LINK),shared)
#LIBRARY		=	$(LIBDIR)/lib$(LIBNAME).so
#LIBLINK		=	$(LIBDIR)/lib$(NAME).$(BASE).so
CFLAGS		+=	-fPIC
#AR		=	gcc -m32 -shared -o # the trailing space is important
#ARFLAGS		=       $(LDFLAGS)
#RANLIB		=	true
endif

#ifeq ($(LINK),static)
LDFLAGS		+=	-static
#endif

ifeq ($(ZLIB),true)
LDFLAGS         +=      -lz
endif