#

CC = cc

CFLAGS = -g -DDEBUG

INCLUDES = rfcnb.h rfcnb-priv.h rfcnb-util.h rfcnb-io.h

.SUFFIXES: .c .o .h

all: test_rfcnb

.c.o: $(INCLUDES)
	@echo Compiling $*.c
	@$(CC) $(CFLAGS) -c $*.c

test_rfcnb:	test_rfcnb.o session.o rfcnb-util.o rfcnb-io.o
	$(CC) $(CFLAGS) -o test_rfcnb test_rfcnb.o session.o rfcnb-util.o rfcnb-io.o

clean:
	rm *.o test_rfcnb

