ISIS = ../../../isis
META = ../../..
TABLE = $(META)/table
INCLUDE = -I${ISIS}/include -I${META}/include -I$(TABLE)
S = ../../../lib/table

HDRS =
OBJS = create.o endenum.o insert.o rename_rel.o \
	delete.o enumerate.o remove_dups.o\
	destroy.o info.o rename_attr.o	tableinit.o \
	remove.o list.o reset.o freelist.o messages.o startenum.o

all: $(OBJS)

create.o: $(S)/create.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/create.c
endenum.o: $(S)/endenum.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/endenum.c
insert.o: $(S)/insert.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/insert.c
rename_rel.o: $(S)/rename_rel.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/rename_rel.c
delete.o: $(S)/delete.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/delete.c
enumerate.o: $(S)/enumerate.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/enumerate.c
remove_dups.o: $(S)/remove_dups.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/remove_dups.c
destroy.o: $(S)/destroy.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/destroy.c
info.o: $(S)/info.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/info.c
rename_attr.o: $(S)/rename_attr.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/rename_attr.c
tableinit.o: $(S)/tableinit.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/tableinit.c
remove.o: $(S)/remove.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/remove.c
list.o: $(S)/list.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/list.c
reset.o: $(S)/reset.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/reset.c
freelist.o: $(S)/freelist.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/freelist.c
messages.o: $(S)/messages.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/messages.c
startenum.o: $(S)/startenum.c $(HDRS)
	$(CC) ${CFLAGS} ${INCLUDE} -c $(S)/startenum.c
