summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-02-26 23:13:08 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-02-26 23:13:08 +0100
commit13306fc146b4839d511287f29df8572a80bf8914 (patch)
tree081330075fabb3a93b0c9c49b9f9f2317934381e /src/Makefile
parent57a63fc9304e71ddd2cf434cc4c8789a1a3a3c88 (diff)
downloadfastd-13306fc146b4839d511287f29df8572a80bf8914.tar
fastd-13306fc146b4839d511287f29df8572a80bf8914.zip
Implement I/O for a fixed peer
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