From a0ac5a656de11e9c3295a9c9ee99a6ce8d04f91d Mon Sep 17 00:00:00 2001 From: Razvan Deaconescu Date: Tue, 19 Oct 2010 21:57:51 +0300 Subject: [PATCH] test-socket-signal: add peer support in Makefile --- Utils/test-socket-signal/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Utils/test-socket-signal/Makefile b/Utils/test-socket-signal/Makefile index 7565f00..6697028 100644 --- a/Utils/test-socket-signal/Makefile +++ b/Utils/test-socket-signal/Makefile @@ -4,17 +4,21 @@ LDLIBS = -lrt .PHONY: all clean -all: server client +all: server client peer server: server.o sock_util/sock_util.o -server.o: server.c sock_util/sock_util.h +server.o: server.c sock_util/sock_util.h utils.h client: client.o sock_util/sock_util.o -client.o: client.c sock_util/sock_util.h +client.o: client.c sock_util/sock_util.h utils.h + +peer: peer.o sock_util/sock_util.o + +peer.o: client.c sock_util/sock_util.h utils.h sock_util/sock_util.o: sock_util/sock_util.c sock_util/sock_util.h clean: - -rm -f *~ *.o server client sock_util/*.o sock_util/*~ + -rm -f *~ *.o server client peer sock_util/*.o sock_util/*~ -- 2.20.1