aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMosder <xmosder12@gmail.com>2026-06-17 23:01:28 +0200
committerMosder <xmosder12@gmail.com>2026-06-17 23:01:28 +0200
commitcc903a47e45daa3499d652944665419eeadd74be (patch)
tree2ab15188499eb5c0d7f9c36d1b2c63c92c31a602 /Makefile
parent2e3f7fe39791cd671a68330f7ba7a5bb5fc6f9ae (diff)
parentd62be280a151883866554e9ea00a5efed2fa593a (diff)
Merge the branch with master, because i forgor to create it from newest
commit
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