

SRC = main.c read_record.c t_error.c rvp_error.c t_hash.c default.c

OBJS = $(SRC:.c=.o)

HDRS = ../include/teaser.h ../include/t_hashtable.h

CFLAGS = -g 


all: $(OBJS) 
	$(CC) $(LINKS) $(OBJS) $(TFPOBJS) $(CFLAGS) -lpub -lguile \
	-lqthreads -lm -o teaser 

%.o: %.c $(HDRS)
	$(CC) $(SYSTEM) $(CFLAGS) -I../include -c $*.c

clean:
	-rm -f *.o teaser

distclean: clean
	-rm -f *~

