#
#
#

LIB = -lpthread
CC = cc

all: server client

server: server.c sock.o
	$(CC) -o server server.c sock.o $(LIB)

client: client.c sock.o
	$(CC) -o client client.c sock.o $(LIB)

sock.o: sock.c sock.h
	$(CC) -c sock.c

clean:
	/bin/rm -f client server core *.o *~

