2 # Simple Makefile to build examples
9 OBJ = SockRead.o SockWrite.o
12 echod: SimpleEchoTCPServer.c $(OBJ)
13 $(CC) $(CFLAGS) SimpleEchoTCPServer.c $(OBJ) -o echod
15 daytimed: ElemDaytimeTCPCuncServ.c
16 $(CC) $(CFLAGS) ElemDaytimeTCPCuncServ.c -o daytimed
18 iterdaytimed: SimpleDaytimeTCPServer.c
19 $(CC) $(CFLAGS) SimpleDaytimeTCPServer.c -o iterdaytimed
21 daytime: SimpleDaytimeTCPClient.c
22 $(CC) $(CFLAGS) SimpleDaytimeTCPClient.c -o daytime