test-socket-signal: add sender and receiver build options to Makefile
authorRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Thu, 11 Nov 2010 14:52:53 +0000 (16:52 +0200)
committerRazvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Thu, 11 Nov 2010 14:52:53 +0000 (16:52 +0200)
Utils/test-socket-signal/Makefile

index 6697028..fe05266 100644 (file)
@@ -4,7 +4,7 @@ LDLIBS = -lrt
 
 .PHONY: all clean
 
-all: server client peer
+all: server client sender receiver peer
 
 server: server.o sock_util/sock_util.o
 
@@ -14,6 +14,14 @@ client: client.o sock_util/sock_util.o
 
 client.o: client.c sock_util/sock_util.h utils.h
 
+sender: sender.o sock_util/sock_util.o
+
+sender.o: sender.c sock_util/sock_util.h utils.h
+
+receiver: receiver.o sock_util/sock_util.o
+
+receiver.o: receiver.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
@@ -21,4 +29,4 @@ 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 peer sock_util/*.o sock_util/*~
+       -rm -f *~ *.o server client sender receiver peer sock_util/*.o sock_util/*~