<commit_before>CXX = g++
CXXFLAGS=-fPIC -Wall -pipe -ansi -pedantic-errors $(DEBUG)
LDFLAGS=-shared
DEPS=modinclude.h ../main.h ../connection.h ../modules.h ../config.cpp ../modules.cpp ../modinterface.cpp
 
all: modules
 
modules: m_ctcppingreply.so m_admin.so m_ctcptimereply.so m_admin_loadmod.so
 
m_ctcppingreply.so: m_ctcppingreply.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_ctcptimereply.so: m_ctcptimereply.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_admin.so: m_admin.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_admin_loadmod.so: m_admin_loadmod.o
	$(CXX) $(LDFLAGS) $^ -o $@
 
# Check for dependencies and recompile if required
# Implicitly takes the cpp as a dependency
# This line only makes sure the makeinclude.h file is checked
m_ctcppingreply.o: $(DEPS)
m_ctcptimereply.o: $(DEPS)
m_admin.o: $(DEPS)
m_admin_loadmod.o: $(DEPS)
 
.PHONY: clean
 
clean:
	rm -f *.o *.so<commit_msg>Add the other modules to the module makefile.<commit_after>CXX = g++
CXXFLAGS=-fPIC -Wall -pipe -ansi -pedantic-errors $(DEBUG)
LDFLAGS=-shared
DEPS=modinclude.h ../main.h ../connection.h ../modules.h ../config.cpp ../modules.cpp ../modinterface.cpp
 
all: modules
 
modules: m_ctcppingreply.so m_ctcpversionreply.so m_ctcptimereply.so m_dccchat.so m_admin.so m_admin_loadmod.so
 
m_ctcppingreply.so: m_ctcppingreply.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_ctcpversionreply.so: m_ctcpversionreply.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_ctcptimereply.so: m_ctcptimereply.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_dccchat.so: m_dccchat.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_admin.so: m_admin.o
	$(CXX) $(LDFLAGS) $^ -o $@
m_admin_loadmod.so: m_admin_loadmod.o
	$(CXX) $(LDFLAGS) $^ -o $@
 
# Check for dependencies and recompile if required
# Implicitly takes the cpp as a dependency
# This line only makes sure the makeinclude.h file is checked
m_ctcppingreply.o: $(DEPS)
m_ctcpversionreply.o: $(DEPS)
m_ctcptimereply.o: $(DEPS)
m_dccchat.o: $(DEPS)
m_admin.o: $(DEPS)
m_admin_loadmod.o: $(DEPS)
 
.PHONY: clean
 
clean:
	rm -f *.o *.so
{'fraction_non_alphanumeric': 0.1614052953156823, 'fraction_numerical': 0.0, 'mean_word_length': 4.24, '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': '3464423', 'n_tokens_mistral': 871, 'n_tokens_neox': 800, 'n_words': 186}