aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e9cec60..ff12d96 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,15 @@ global: compile
local: compile
mv branal ${HOME}/.local/bin
-compile: structures utils parser capture analyzer
+compile: csv structures utils parser capture analyzer
$(CC) $(CFLAGS) -lpcap *.o main.c -o branal
rm *.o
+csv:
+ gcc csv_to_headers.c -o csv_to_headers
+ ./csv_to_headers
+ rm csv_to_headers
+
structures:
$(CC) $(CFLAGS) -c analyzer/structures/hashmap.c
$(CC) $(CFLAGS) -c analyzer/structures/heap.c
@@ -32,3 +37,4 @@ analyzer:
$(CC) $(CFLAGS) -c analyzer/analyzer.c
.PHONY: analyzer
+.PHONY: csv