.c.o: gcc -Wall -c $< LIBS=-lsocket -lnsl all: client server client: client.o common.o gcc -o client client.o common.o ${LIBS} server: server.o common.o gcc -o server server.o common.o ${LIBS}