aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: e5a9c545ca6d0a78cc03f1387f4dff827eab8d0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
global: compile
	sudo mv branal /usr/bin

local: compile
	mv branal ${HOME}/.local/bin

compile: utils capture analyzer parser
	gcc *.o main.c -lpcap -o branal
	rm *.o

utils: structures
	gcc -c analyzer/utils/fs.c
	gcc -c analyzer/utils/time.c
	gcc -c analyzer/utils/tcp.c
	gcc -c analyzer/utils/tcp_seq_math.c

structures:
	gcc -c analyzer/utils/structures/hashmap.c
	gcc -c analyzer/utils/structures/heap.c

capture:
	gcc -c analyzer/capture.c

analyzer:
	gcc -c analyzer/analyzer.c

parser:
	gcc -c analyzer/parser/parser.c
	gcc -c analyzer/parser/fight_results.c

.PHONY: analyzer