<commit_before>CC = $(CROSS)$(TARGET)gcc
LINK = $(CROSS)$(TARGET)ld -o
LIBRARY_LINK_OPTS =  -L. -r
CFLAGS = -ggdb -D_GNU_SOURCE -Wall -Wextra -Wshadow -Wformat-security -O2
RM = /bin/rm -f
Q=@

OBJS = log.o tsfuncs.o tsfuncs_crc.o tsfuncs_misc.o tsfuncs_time.o \
	tsfuncs_sections.o tsfuncs_section_data.o \
	tsfuncs_descriptors.o \
	tsfuncs_pat.o tsfuncs_pat_desc.o \
	tsfuncs_cat.o \
	tsfuncs_pmt.o \
	tsfuncs_nit.o tsfuncs_nit_desc.o \
	tsfuncs_sdt.o tsfuncs_sdt_desc.o \
	tsfuncs_eit.o tsfuncs_eit_desc.o \
	tsfuncs_tdt.o \
	tsfuncs_pes.o tsfuncs_pes_data.o \
	tsfuncs_pes_es.o
PROG = libts.a

all: $(PROG)

$(PROG): $(OBJS) tsdata.h
	$(Q)echo "  LINK	$(PROG)"
	$(Q)$(LINK) $@ $(LIBRARY_LINK_OPTS) $(OBJS) 

%.o: %.c
	$(Q)echo "  CC	libts	$<"
	$(Q)$(CC) $(CFLAGS) -c $<

clean:
	$(Q)echo "  RM	$(PROG) $(OBJS)"
	$(Q)$(RM) $(PROG) *.o *~

distclean: clean
<commit_msg>Add dependancies to tsdata.h and tsfuncs.h<commit_after>CC = $(CROSS)$(TARGET)gcc
LINK = $(CROSS)$(TARGET)ld -o
LIBRARY_LINK_OPTS =  -L. -r
CFLAGS = -ggdb -D_GNU_SOURCE -Wall -Wextra -Wshadow -Wformat-security -O2
RM = /bin/rm -f
Q=@

OBJS = log.o tsfuncs.o tsfuncs_crc.o tsfuncs_misc.o tsfuncs_time.o \
	tsfuncs_sections.o tsfuncs_section_data.o \
	tsfuncs_descriptors.o \
	tsfuncs_pat.o tsfuncs_pat_desc.o \
	tsfuncs_cat.o \
	tsfuncs_pmt.o \
	tsfuncs_nit.o tsfuncs_nit_desc.o \
	tsfuncs_sdt.o tsfuncs_sdt_desc.o \
	tsfuncs_eit.o tsfuncs_eit_desc.o \
	tsfuncs_tdt.o \
	tsfuncs_pes.o tsfuncs_pes_data.o \
	tsfuncs_pes_es.o
PROG = libts.a

all: $(PROG)

$(PROG): $(OBJS) tsdata.h tsfuncs.h
	$(Q)echo "  LINK	$(PROG)"
	$(Q)$(LINK) $@ $(LIBRARY_LINK_OPTS) $(OBJS) 

%.o: %.c tsdata.h tsfuncs.h
	$(Q)echo "  CC	libts	$<"
	$(Q)$(CC) $(CFLAGS) -c $<

clean:
	$(Q)echo "  RM	$(PROG) $(OBJS)"
	$(Q)$(RM) $(PROG) *.o *~

distclean: clean

{'fraction_non_alphanumeric': 0.17722222222222223, 'fraction_numerical': 0.0011111111111111111, 'mean_word_length': 3.7898936170212765, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1472625', 'n_tokens_mistral': 944, 'n_tokens_neox': 921, 'n_words': 156}