CFLAGS=-Wall -g -ggdb -DDEBUG -I../ia32 -O9
LIBS=
CC=cc
OBJS =	common.o elf_base.o elf_file.o elf_dump.o elf_section.o elf_segment.o \
	elf_verify.o elf_util.o

all:	function-extract


clean:
	rm -f *.o function-extract

function-extract:	function-extract.c $(OBJS)
	$(CC) $(CFLAGS) -o function-extract function-extract.c \
		../ia32/ia32-decode.c $(OBJS) $(LIBS)

