<commit_before># Copyright (c) 2010 <NAME> and others. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# TODO(timurrrr): it's probably better to list files manually in
# target-specific .mk's. We should do that when our codebase becomes
# more-or-less stable.
# This will be changed when we migrate to CMake, see
# http://code.google.com/p/mipt-course/issues/detail?id=1

# Get the list of ".h" files for the given TARGET
H_LIST=$(wildcard $(TARGET)/*.h)

# Get the list of ".cpp" files and trim the ".cpp" extension
# TEST_CPP_LIST will contain *_test.cpp files
# LIB_CPP_LIST  will contain all other .cpp files
ALL_CPP_LIST=$(patsubst %.cpp,%,$(wildcard $(TARGET)/*.cpp))
TEST_CPP_LIST=$(patsubst %.cpp,%,$(wildcard $(TARGET)/*_test.cpp))
LIB_CPP_LIST=$(filter-out $(TEST_CPP_LIST), $(ALL_CPP_LIST))

# Turn all "TARGET/X.cpp" into "out/TARGET_X.obj"
LIB_OBJ_LIST=$(patsubst %,$(OUTDIR)%.$(OBJ),$(LIB_CPP_LIST))
TEST_OBJ_LIST=$(patsubst %,$(OUTDIR)%.$(OBJ),$(TEST_CPP_LIST))

TARGET_DIR=$(OUTDIR)$(TARGET)
$(TARGET_DIR):
	mkdir -p $(TARGET_DIR)

# "$<" stands for "first dependency"
# "$@" stands for "rule name"<commit_msg>... one more<commit_after># Copyright (c) 2010 <NAME> and others. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# TODO(timurrrr): it's probably better to list files manually in
# target-specific .mk's. We should do that when our codebase becomes
# more-or-less stable.
# This will be changed when we migrate to CMake, please see
# http://code.google.com/p/mipt-course/issues/detail?id=1

# Get the list of ".h" files for the given TARGET
H_LIST=$(wildcard $(TARGET)/*.h)

# Get the list of ".cpp" files and trim the ".cpp" extension
# TEST_CPP_LIST will contain *_test.cpp files
# LIB_CPP_LIST  will contain all other .cpp files
ALL_CPP_LIST=$(patsubst %.cpp,%,$(wildcard $(TARGET)/*.cpp))
TEST_CPP_LIST=$(patsubst %.cpp,%,$(wildcard $(TARGET)/*_test.cpp))
LIB_CPP_LIST=$(filter-out $(TEST_CPP_LIST), $(ALL_CPP_LIST))

# Turn all "TARGET/X.cpp" into "out/TARGET_X.obj"
LIB_OBJ_LIST=$(patsubst %,$(OUTDIR)%.$(OBJ),$(LIB_CPP_LIST))
TEST_OBJ_LIST=$(patsubst %,$(OUTDIR)%.$(OBJ),$(TEST_CPP_LIST))

TARGET_DIR=$(OUTDIR)$(TARGET)
$(TARGET_DIR):
	mkdir -p $(TARGET_DIR)

# "$<" stands for "first dependency"
# "$@" stands for "rule name"
{'fraction_non_alphanumeric': 0.15975103734439833, 'fraction_numerical': 0.004149377593360996, 'mean_word_length': 5.2299741602067185, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '3555872', 'n_tokens_mistral': 870, 'n_tokens_neox': 829, 'n_words': 256}