<commit_before>OPT_DEBUG=-O0 -g -Wall -Wextra -Werror 
OPT_FAST=-O3 -DHTTP_PARSER_STRICT=0


http_parser_g.o: http_parser.c http_parser.h Makefile
	gcc $(OPT_DEBUG) -c http_parser.c

test_g: http_parser_g.o test.c
	gcc $(OPT_DEBUG) http_parser.o test.c -o $@

test-run: test_g
	./test_g


http_parser.o: http_parser.c http_parser.h Makefile
	gcc $(OPT_FAST) -c http_parser.c

test: http_parser.o test.c
	gcc $(OPT_FAST) http_parser.o test.c -o $@

test-run-timed: test
	while(true) do time ./test > /dev/null; done


tags: http_parser.c http_parser.h test.c
	ctags $^

clean:
	rm -f *.o http_parser.c test test_g http_parser.tar

.PHONY: clean package test-run test-run-timed<commit_msg>Don't delete http_parser.c on make clean<commit_after>OPT_DEBUG=-O0 -g -Wall -Wextra -Werror 
OPT_FAST=-O3 -DHTTP_PARSER_STRICT=0


http_parser_g.o: http_parser.c http_parser.h Makefile
	gcc $(OPT_DEBUG) -c http_parser.c

test_g: http_parser_g.o test.c
	gcc $(OPT_DEBUG) http_parser.o test.c -o $@

test-run: test_g
	./test_g


http_parser.o: http_parser.c http_parser.h Makefile
	gcc $(OPT_FAST) -c http_parser.c

test: http_parser.o test.c
	gcc $(OPT_FAST) http_parser.o test.c -o $@

test-run-timed: test
	while(true) do time ./test > /dev/null; done


tags: http_parser.c http_parser.h test.c
	ctags $^

clean:
	rm -f *.o test test_g http_parser.tar

.PHONY: clean package test-run test-run-timed
{'fraction_non_alphanumeric': 0.1232876712328767, 'fraction_numerical': 0.004325883201153569, 'mean_word_length': 3.904593639575972, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6447510', 'n_tokens_mistral': 611, 'n_tokens_neox': 591, 'n_words': 139}