summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
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