<commit_before>CC=gcc
PROG=flowly
OBJDIR=build
SRCDIR=src
CFLAGS=-std=gnu89 -Wall
LDFLAGS=-lrt -lpthread

FILES=config flowstat list output sflow utils
OBJS=$(FILES:%=$(OBJDIR)/%.o)

all: $(OBJDIR) $(PROG)

$(PROG): $(OBJS) $(SRCDIR)/$(PROG).c
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(SRCDIR)/$(PROG).c $(LDFLAGS)

$(OBJDIR)/%.o: $(SRCDIR)/%.c
	$(CC) -c $(CFLAGS) -o "$@"  "$<" $(LDFLAGS)

$(OBJDIR):
	mkdir -p $@

clean:
	rm -f $(PROG)
	rm -rf $(OBJDIR)
<commit_msg>Makefile tweaks<commit_after>CC=gcc
PROG=flowly
OBJDIR=build
SRCDIR=src
CFLAGS=-std=gnu89 -Wall
LDFLAGS=-lrt -lpthread

FILES=config flowstat list output sflow utils
OBJS=$(FILES:%=$(OBJDIR)/%.o)

all: $(OBJDIR) $(PROG)

$(PROG): $(OBJS) $(SRCDIR)/$(PROG).c
	$(CC) $(CFLAGS) -o $@ $(OBJS) $(SRCDIR)/$(PROG).c $(LDFLAGS)

$(OBJDIR)/%.o: $(SRCDIR)/%.c
	$(CC) -c $(CFLAGS) -o $@  $<

$(OBJDIR):
	mkdir -p $@

clean:
	- rm -f $(PROG)
	- rm -rf $(OBJDIR)

{'fraction_non_alphanumeric': 0.2607260726072607, 'fraction_numerical': 0.0044004400440044, 'mean_word_length': 4.515151515151516, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3028999', 'n_tokens_mistral': 436, 'n_tokens_neox': 420, 'n_words': 88}