#
# Make file for elf
#

include ../../common_def

ELF_LIB=../../lib/libeel.a

ELF_OBJS=eel_file.o elf_dynamic.o elf_file_dyn.o elf_file_exec.o elf_file_rel.o elf_hash.o elf_reltab.o elf_section.o elf_segment.o elf_snippet.o elf_strtab.o elf_symtab.o

all: $(ELF_LIB)

$(ELF_LIB): $(ELF_OBJS)
	ar vr $@ $(ELF_OBJS)

.SUFFIXES:  .cpp

.cpp.o:
	$(CC_CMD) $(CFLAGS) $(COMMON_DEFS) $(INCLUDE_DIRS) -c $<

clean:
	rm -f *.o *~	
