aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: d0a760e837f78c4235dd1b19717dd549f46a8cd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
global: compile
	sudo mv branal /usr/bin

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

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