Subversion Repositories PlanixRsrch.SVN

Rev

Rev 4 | Rev 8 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed


OBJS=mavl_create.o mavl.o mavl_get.o mavl_del_all.o mavlnode_destroy.o \
        mavl_get_depth.o \
        mavliter_init.o \
        mavliter_next.o \
        mavliter_get.o \
        mavliter_seek_set.o

CC=tcc -Xs 

LIBNAME=libmavl.a

.c.o: 
        $(CC) -c $(CFLAGDS) $<

$(LIBNAME): $(OBJS)
        $(AR) rcs $(LIBNAME) $(OBJS)

example1: $(LIBNAME) example1.o
        $(CC) -o example1 example1.o $(LIBNAME)


clean:
        rm -f $(OBJS)
        rm -f $(LIBNAME)
        rm -f example1.o example1 
        rm -f *.core