CFLAGS = -g -Bstatic 
all: snm wr re

i: all
	rcp re milan:/tmp
	rcp wr milan:/tmp
	rcp snm milan:/tmp
	rcp re anderson:/tmp
	rcp wr anderson:/tmp
	rcp snm anderson:/tmp

clean:
	/bin/rm -f *.o re wr snm

re: reader.o msgsend.o
	cc -Bstatic -o re reader.o msgsend.o

wr: writer.o msgsend.o
	cc -Bstatic -o wr writer.o msgsend.o

snm: main.o hd.o msgsend.o libin.a
	cc -Bstatic -o snm main.o hd.o msgsend.o libin.a
