second day
[my-code/hdw-sniff.git] / Makefile
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..8a234aa
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+#!/usr/bin/make
+
+CC = gcc
+CFLAGS = -O3
+LDFLAGS = -lpcap
+
+TARGETS = hdw-sniff
+
+all: $(TARGETS)
+
+hdw-sniff:
+       $(CC) $(CFLAGS) -Wall hdw-sniff.c $(LDFLAGS) -o hdw-sniff 
+