Iniziato a scrivere la roba di stat
[gapil.git] / sources / Makefile
1 #
2 # Simple Makefile to build examples
3 #
4 # C flags
5 CC=gcc
6 CFLAGS= -Wall 
7 CFLADJ=-c 
8
9 OBJ = SockRead.o SockWrite.o
10
11
12 echod: SimpleEchoTCPServer.c $(OBJ) 
13         $(CC) $(CFLAGS) SimpleEchoTCPServer.c $(OBJ) -o echod
14
15 daytimed: ElemDaytimeTCPCuncServ.c 
16         $(CC) $(CFLAGS) ElemDaytimeTCPCuncServ.c  -o daytimed
17
18 iterdaytimed: SimpleDaytimeTCPServer.c 
19         $(CC) $(CFLAGS) SimpleDaytimeTCPServer.c -o iterdaytimed
20
21 daytime: SimpleDaytimeTCPClient.c 
22         $(CC) $(CFLAGS) SimpleDaytimeTCPClient.c -o daytime
23
24 $(OBJ): wrappers.h
25
26
27
28 .PHONY : clean
29 clean:
30         rm -f *~
31         rm -f *.o
32         rm -f daytime
33
34
35
36
37
38
39
40
41
42
43
44