equal
deleted
inserted
replaced
11 msg.o \ |
11 msg.o \ |
12 client_run.o \ |
12 client_run.o \ |
13 mail.o |
13 mail.o |
14 INSTALL=/usr/bin/install -c |
14 INSTALL=/usr/bin/install -c |
15 |
15 |
|
16 ts: $(OBJECTS) |
|
17 gcc -o ts $^ |
|
18 |
16 # Dependencies |
19 # Dependencies |
17 main.o: main.c main.h |
20 main.o: main.c main.h |
18 server_start.o: server_start.c main.h |
21 server_start.o: server_start.c main.h |
19 server.o: server.c main.h msg.h |
22 server.o: server.c main.h msg.h |
20 client.o: client.c main.h msg.h |
23 client.o: client.c main.h msg.h |
23 execute.o: execute.c main.h msg.h |
26 execute.o: execute.c main.h msg.h |
24 msg.o: msg.c main.h msg.h |
27 msg.o: msg.c main.h msg.h |
25 client_run.o: client_run.c main.h |
28 client_run.o: client_run.c main.h |
26 mail.o: mail.c main.h |
29 mail.o: mail.c main.h |
27 |
30 |
28 ts: $(OBJECTS) |
|
29 gcc -o ts $^ |
|
30 |
|
31 clean: |
31 clean: |
32 rm -f *.o ts |
32 rm -f *.o ts |
33 |
33 |
34 install: |
34 install: |
35 $(INSTALL) -d $(PREFIX)/bin |
35 $(INSTALL) -d $(PREFIX)/bin |