File: Makefile

package info (click to toggle)
eresi 1%3A0.8a25-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 22,140 kB
  • ctags: 13,053
  • sloc: ansic: 119,781; makefile: 2,105; sh: 1,438; asm: 345; python: 205; perl: 132; pascal: 34
file content (32 lines) | stat: -rw-r--r-- 557 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
22
23
24
25
26
27
28
29
30
31
32
#
# Makefile for libmalloc-e2dbg
#
# The ELF shell project 
#
# Started Tue Oct 04 15:13:19 2005 mm
# 

include ../config.h

CC	?= gcc
LD	?= ld
SRC	= aproxy_malloc.c aproxy_strdup.c
OBJ	= $(SRC:.c=.o)
CFLAGS	+= -D__STD_C -DMALLOC_DEBUG -DUSE_ARENAS -DSHARED -DUSE_TLS \
	-fPIC -g3 -Iinclude -I../libelfsh/include/
NAME	= allocproxy

all	: heap

lib$(NAME).o	: $(OBJ)
	$(AR) rc lib$(NAME).a $(OBJ)
	$(RANLIB) lib$(NAME).a
	$(LD) -r $(OBJ) -o lib$(NAME).o

heap:	lib$(NAME).o

clean	:
	rm -f $(OBJ) *~ \#* *\#

fclean	: clean
	rm -f lib$(NAME).a lib$(NAME).o