<commit_before>CXXFLAGS = -Wall -pedantic -std=c++11 -Wno-tautological-compare
SOURCES = exparser.cpp expression.cpp main.cpp
OBJECTS = $(SOURCES:.cpp=.o)
EXECUTABLE = dx

.PHONY: all clean distclean

clean_list = $(OBJECTS) $(EXECUTABLE)

all: $(EXECUTABLE)

clean: 
	$(RM) -rf $(clean_list)

distclean: clean

clean_list += ${SOURCES:.cpp=.d}

$(EXECUTABLE): $(OBJECTS)
	$(CXX) $(OBJECTS) -o $(EXECUTABLE)

%.d: $(SOURCES)
	$(CXX) $(CXXFLAGS) -MM $?

-include ${SOURCES:.cpp=.d}

# .cpp.o:
# 	$(CXX) $(CXXFLAGS) -c $<

.PHONY: all 
.PHONY: clean<commit_msg>Makefile improvement<commit_after>CXXFLAGS = -Wall -pedantic -std=c++11 -Wno-tautological-compare
SOURCES = exparser.cpp expression.cpp main.cpp
OBJECTS = $(SOURCES:.cpp=.o)
EXECUTABLE = dx

.PHONY: all clean distclean

clean_list = $(OBJECTS) $(EXECUTABLE)

all: $(EXECUTABLE)

clean: 
	$(RM) -rf $(clean_list)

distclean: clean

clean_list += ${SOURCES:.cpp=.d}

$(EXECUTABLE): $(OBJECTS)
	$(CXX) $(OBJECTS) -o $(EXECUTABLE)

%.d: $(SOURCES)
	$(CXX) $(CXXFLAGS) -MM $? > $@

-include ${SOURCES:.cpp=.d}

# .cpp.o:
# 	$(CXX) $(CXXFLAGS) -c $<
{'fraction_non_alphanumeric': 0.20780399274047187, 'fraction_numerical': 0.003629764065335753, 'mean_word_length': 4.46039603960396, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5019530', 'n_tokens_mistral': 506, 'n_tokens_neox': 454, 'n_words': 98}