test-socket-signal: add peer support in Makefile
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tue, 19 Oct 2010 18:57:51 +0000 (21:57 +0300)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tue, 19 Oct 2010 18:57:51 +0000 (21:57 +0300)
Utils/test-socket-signal/Makefile

index 7565f00..6697028 100644 (file)
@@ -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/*~