all: telnetchat

clean:
	rm -f *~ *.bak *.o telnetchat 

telnetchat: telnetchat.o
	gcc -lpthread $< -o $@ 

%.o: %.c
	gcc  -Wall -c -o $@ $<

