CLIENTE=client SERVER_ITER=serverhandler SERVER_REAL=server LIBS=../libtcp/libtcp.a ../common/common.a CFLAGS=-g -Wall -I../libtcp -I../common CXXFLAGS=$(CFLAGS) TARGET=$(CLIENTE) $(SERVER_ITER) $(SERVER_REAL) CC=g++ all: $(TARGET) $(CLIENTE): client.o $(LIBS) client.o: client.cpp $(SERVER_ITER): serverhandler.o $(LIBS) serverhandler.o: serverhandler.cpp $(SERVER_REAL): server.o $(LIBS) server.o: server.cpp .PHONY: clean clean: rm -f *.o $(TARGET)