From 189fd56b24859a89d71899e070f885e93ffabd97 Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 14 Jul 2026 17:25:04 +0200 Subject: feat: created converter from CSV files to a C header files containing static arrays. Used for creating ID to STR conversion for saturations and items. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3