<commit_before>SOURCES=$(wildcard *.cpp) $(wildcard quantities/*.cpp) $(wildcard base/*.cpp) $(wildcard integrators/*.cpp) $(wildcard ksp_plugin/*.cpp) $(wildcard geometry/*.cpp)
PROTO_SOURCES=$(wildcard */*.proto)

OBJECTS=$(SOURCES:.cpp=.o)
VERSIOON_HEADER=base/version.hpp
PROTO_HEADERS=$(PROTO_SOURCES:.proto=.pb.h)

BIN_DIR=bin
BIN=$(BIN_DIR)/principia.so

INCLUDE=-I. -I../glog/src -I../protobuf-2.6.1/src -I../benchmark/include -I../gmock-1.7.0/gtest/include -I../gmock-1.7.0/include

CPPC=clang++
SHARED_ARGS=-std=c++1y -stdlib=libc++ -O3 -g -ggdb -m64 -mmmx -msse -msse2 -m3dnow -fexceptions -ferror-limit=0 # -Wall -Wpedantic 
COMPILE_ARGS=-c $(SHARED_ARGS) $(INCLUDE)
LINK_ARGS=$(SHARED_ARGS)
LIBS=

$(BIN): $(VERSION_HEADER) $(PROTO_HEADERS) $(OBJECTS) Makefile $(BIN_DIR)
	$(CPPC) $(LINK_ARGS) $(OBJECTS) $(INCLUDE) $(LIBS) -o $(BIN)

$(BIN_DIR):
	mkdir -p $(BIN_DIR)

$(VERSION_HEADER): .git
	./generate_version_header.sh

%.pb.h: %.proto
	../protobuf/src/protoc $< --cpp_out=.

%.o: %.cpp Makefile
	$(CPPC) $(COMPILE_ARGS) $< -o $@ -MMD

run: $(BIN)
	./$(BIN)

clean:
	rm $(BIN) $(PROTO_HEADERS) $(OBJECTS); true<commit_msg>Don't produce dependency info for the moment since it's not set up to be used yet.<commit_after>SOURCES=$(wildcard *.cpp) $(wildcard quantities/*.cpp) $(wildcard base/*.cpp) $(wildcard integrators/*.cpp) $(wildcard ksp_plugin/*.cpp) $(wildcard geometry/*.cpp)
PROTO_SOURCES=$(wildcard */*.proto)

OBJECTS=$(SOURCES:.cpp=.o)
VERSIOON_HEADER=base/version.hpp
PROTO_HEADERS=$(PROTO_SOURCES:.proto=.pb.h)

BIN_DIR=bin
BIN=$(BIN_DIR)/principia.so

INCLUDE=-I. -I../glog/src -I../protobuf-2.6.1/src -I../benchmark/include -I../gmock-1.7.0/gtest/include -I../gmock-1.7.0/include

CPPC=clang++
SHARED_ARGS=-std=c++1y -stdlib=libc++ -O3 -g -ggdb -m64 -mmmx -msse -msse2 -m3dnow -fexceptions -ferror-limit=0 # -Wall -Wpedantic 
COMPILE_ARGS=-c $(SHARED_ARGS) $(INCLUDE)
LINK_ARGS=$(SHARED_ARGS)
LIBS=

$(BIN): $(VERSION_HEADER) $(PROTO_HEADERS) $(OBJECTS) Makefile $(BIN_DIR)
	$(CPPC) $(LINK_ARGS) $(OBJECTS) $(INCLUDE) $(LIBS) -o $(BIN)

$(BIN_DIR):
	mkdir -p $(BIN_DIR)

$(VERSION_HEADER): .git
	./generate_version_header.sh

%.pb.h: %.proto
	../protobuf/src/protoc $< --cpp_out=.

%.o: %.cpp Makefile
	$(CPPC) $(COMPILE_ARGS) $< -o $@ 

run: $(BIN)
	./$(BIN)

clean:
	rm $(BIN) $(PROTO_HEADERS) $(OBJECTS); true
{'fraction_non_alphanumeric': 0.22023047375160051, 'fraction_numerical': 0.01365770379854887, 'mean_word_length': 4.502347417840376, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6084387', 'n_tokens_mistral': 1032, 'n_tokens_neox': 964, 'n_words': 183}