<commit_before>PKGCONF = pkgconf
PKGCONF_MODULES = dvdread libavformat libavutil
CFLAGS = -Wall -g -fsanitize=address
CFLAGS += `$(PKGCONF) --cflags $(PKGCONF_MODULES)`
LDFLAGS = `$(PKGCONF) --libs $(PKGCONF_MODULES)`
PROGRAMS = dump_ifo dump_vobu print_vobu
PROGRAMS += rewrite_ifo make_vob print_cell

all: $(PROGRAMS)

clean:
	rm -f $(PROGRAMS) *.o

dump_ifo: dump_ifo.c common.c
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

make_vob: make_vob.c common.c
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

print_vobu: print_vobu.c common.c
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

dump_vobu: dump_vobu.c common.c
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

print_cell: print_cell.c common.c
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

rewrite_ifo: rewrite_ifo.c common.c
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

<commit_msg>build: Simplify the Makefile<commit_after>PKGCONF = pkgconf
PKGCONF_MODULES = dvdread libavformat libavutil
CFLAGS = -Wall -g -fsanitize=address
CFLAGS += `$(PKGCONF) --cflags $(PKGCONF_MODULES)`
LDFLAGS = `$(PKGCONF) --libs $(PKGCONF_MODULES)`
PROGRAMS = dump_ifo dump_vobu print_vobu
PROGRAMS += rewrite_ifo make_vob print_cell

all: $(PROGRAMS)

clean:
	rm -f $(PROGRAMS) *.o

.c.o:
	$(CC) $(CFLAGS) -c $< -o $@

dump_ifo: dump_ifo.c common.o
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

make_vob: make_vob.c common.o
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

print_vobu: print_vobu.c common.o
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

dump_vobu: dump_vobu.c common.o
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

print_cell: print_cell.c common.o
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)

rewrite_ifo: rewrite_ifo.c common.o
	$(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS)


{'fraction_non_alphanumeric': 0.19275629220380602, 'fraction_numerical': 0.0, 'mean_word_length': 4.601374570446735, 'pattern_counts': {'":': 0, '<': 4, '<?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': '6373582', 'n_tokens_mistral': 776, 'n_tokens_neox': 737, 'n_words': 158}