<commit_before>CC=clang++
CFLAGS=-Os -IPlugins -I. -ISystem

all: libxnet.a

libxnet.a: Peer.o DataSerialiser.o DataUnserialiser.o Message.o Plugin.o Plugins/Sequencing.o Plugins/Reliability.o Plugins/SimulateLag.o Plugins/Splitting.o
	ar -c -q -s $@ $^

System/SocketProvider.o: System/SocketProvider.cpp System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

Peer.o: Peer.cpp XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

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

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

Message.o: Message.cpp XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

Plugin.o: Plugin.cpp XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

Plugins/Sequencing.o: Plugins/Sequencing.cpp Plugins/Sequencing.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

Plugins/Reliability.o: Plugins/Reliability.cpp Plugins/Reliability.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

Plugins/SimulateLag.o: Plugins/SimulateLag.cpp Plugins/SimulateLag.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

Plugins/Splitting.o: Plugins/Splitting.cpp Plugins/Splitting.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CC) -c $(CFLAGS) -o $@ $<

clean:
	rm -f *.o Plugins/*.o libxnet.a
<commit_msg>Makefile cleanups.<commit_after>CXX=clang++
INCLUDES=-IPlugins -I. -ISystem
CXXFLAGS=-Wall -Wno-reorder -fno-rtti -gfull -O3 $(INCLUDES)

all: libxnet.a

libxnet.a: Peer.o DataSerialiser.o DataUnserialiser.o Message.o Plugin.o Plugins/Sequencing.o Plugins/Reliability.o Plugins/SimulateLag.o Plugins/Splitting.o
	ar -c -q -s $@ $^

System/SocketProvider.o: System/SocketProvider.cpp System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Peer.o: Peer.cpp XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

DataSerialiser.o: DataSerialiser.cpp DataSerialiser.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

DataUnserialiser.o: DataUnserialiser.cpp DataUnserialiser.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Message.o: Message.cpp XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Plugin.o: Plugin.cpp XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Plugins/Sequencing.o: Plugins/Sequencing.cpp Plugins/Sequencing.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Plugins/Reliability.o: Plugins/Reliability.cpp Plugins/Reliability.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Plugins/SimulateLag.o: Plugins/SimulateLag.cpp Plugins/SimulateLag.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

Plugins/Splitting.o: Plugins/Splitting.cpp Plugins/Splitting.h XNet.h DataUnserialiser.h DataSerialiser.h System/SocketProvider.h
	$(CXX) -c $(CXXFLAGS) -o $@ $<

clean:
	rm -f *.o Plugins/*.o libxnet.a

{'fraction_non_alphanumeric': 0.15635476988722952, 'fraction_numerical': 0.00030478512648582747, 'mean_word_length': 4.451827242524917, 'pattern_counts': {'":': 0, '<': 23, '<?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': '6995067', 'n_tokens_mistral': 1353, 'n_tokens_neox': 1260, 'n_words': 250}