<commit_before>CXXFLAGS=--std=c++11 -Wno-deprecated-register

default: clean yana

test: default
	./yana
	cmp test.nes test_nesasm.nes

clean:
	rm -f yana parser.c parser.h scanner.cpp

yana: opcodes.c parser.c scanner.cpp symbol.cpp bank.cpp
	$(CXX) $(CXXFLAGS) -o $@ $^

parser.c: parser.y
	bison -o $@ -d $^

scanner.cpp: scanner.l
	flex -o $@ $^<commit_msg>Remove test binary on clean<commit_after>CXXFLAGS=--std=c++11 -Wno-deprecated-register

default: clean yana

test: default
	./yana
	cmp test.nes test_nesasm.nes

clean:
	rm -f yana parser.c parser.h scanner.cpp test.nes

yana: opcodes.c parser.c scanner.cpp symbol.cpp bank.cpp
	$(CXX) $(CXXFLAGS) -o $@ $^

parser.c: parser.y
	bison -o $@ -d $^

scanner.cpp: scanner.l
	flex -o $@ $^
{'fraction_non_alphanumeric': 0.15436241610738255, 'fraction_numerical': 0.005369127516778523, 'mean_word_length': 3.521212121212121, 'pattern_counts': {'":': 0, '<': 3, '<?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': '5672373', 'n_tokens_mistral': 320, 'n_tokens_neox': 295, 'n_words': 77}