summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index 90619ec..caa6f9f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,10 +1,11 @@
all : fastd
-fastd : fastd.o method_null.o
- gcc -Wall -o $@ $^
+fastd : fastd.o method_null.o task.o handshake.o
-fastd.o : fastd.c fastd.h packet.h
- gcc -Wall -c -o $@ $<
+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
+task.o : task.c task.h queue.h
-method_null.o : method_null.c fastd.h
- gcc -Wall -c -o $@ $<
+clean :
+ rm -f fastd fastd.o method_null.o task.o