CC=gcc -O2 -pthread all: chatclient chatserver chatserver: chatserver.c chat_receive.c chat_send.c csapp.c $(CC) chatserver.c csapp.c chat_receive.c chat_send.c -o chatserver chatclient: chatclient.c chat_receive.c chat_send.c csapp.c $(CC) chatclient.c csapp.c chat_send.c chat_receive.c -o chatclient