aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a85df64..d0a760e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,13 +4,19 @@ global: compile
local: compile
mv branal ${HOME}/.local/bin
-compile: utils capture
- gcc *.o main.c -o branal
+compile: utils capture analyzer
+ gcc *.o main.c -lpcap -o branal
rm *.o
utils:
gcc -c analyzer/utils/fs.c
gcc -c analyzer/utils/time.c
+ gcc -c analyzer/utils/pcap.c
capture:
gcc -c analyzer/capture.c
+
+analyzer:
+ gcc -c analyzer/analyzer.c
+
+.PHONY: analyzer