summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-02-25 22:53:33 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-02-25 22:53:33 +0100
commit57a63fc9304e71ddd2cf434cc4c8789a1a3a3c88 (patch)
tree081b9dc0d024f7b57dde74c6858274c3d62df9aa /src/Makefile
parentd86a948a67c44ca1c484cfbe30261f1bf61c59ab (diff)
downloadfastd-57a63fc9304e71ddd2cf434cc4c8789a1a3a3c88.tar
fastd-57a63fc9304e71ddd2cf434cc4c8789a1a3a3c88.zip
Init tun interface and define some structures
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..90619ec
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,10 @@
+all : fastd
+
+fastd : fastd.o method_null.o
+ gcc -Wall -o $@ $^
+
+fastd.o : fastd.c fastd.h packet.h
+ gcc -Wall -c -o $@ $<
+
+method_null.o : method_null.c fastd.h
+ gcc -Wall -c -o $@ $<