projects
/
my-code
/
hdw-sniff.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+