summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-02-27 23:12:56 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-02-27 23:12:56 +0100
commit6c2649ab27f96dcc40a1f01a36a07d1603f39c51 (patch)
tree32e5ddf8ea76619da45cc27578673a15d7399910 /src/Makefile
parent5e70122b5481c878aa0773281304c4d68062cf7d (diff)
downloadfastd-6c2649ab27f96dcc40a1f01a36a07d1603f39c51.tar
fastd-6c2649ab27f96dcc40a1f01a36a07d1603f39c51.zip
Add timeout to task queue
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index caa6f9f..a10ef63 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,11 +1,13 @@
all : fastd
-fastd : fastd.o method_null.o task.o handshake.o
+fastd : fastd.o method_null.o task.o handshake.o queue.o
+ $(CC) -o $@ $^ -lrt
fastd.o : fastd.c fastd.h task.h queue.h handshake.h
-handshake.o : handshake.c packet.h handshake.h
-method_null.o : method_null.c fastd.h task.h
+handshake.o : handshake.c packet.h handshake.h queue.h
+method_null.o : method_null.c fastd.h task.h queue.h
task.o : task.c task.h queue.h
+queue.o : queue.c queue.h
clean :
rm -f fastd fastd.o method_null.o task.o