INCDIR=../../include

all:	host node
	$(RUN) host 4

host:	host.o
	$(CC) host.o $(LIB) -o host

node:	node.o
	$(CC) node.o $(LIB) -o node

host.o:	host.c
	$(CC) -c -I$(INCDIR) host.c

node.o:	node.c
	$(CC) -c -I$(INCDIR) node.c

clean:
	-rm -f host node
	-rm -f *.o
	-rm -f *~
