<commit_before>LEVEL = ../../../make

CXX_SOURCES = main.cpp length.cpp

CFLAGS_LIMIT = -g -O0 -c
CFLAGS_NO_LIMIT = -g -O0 -c

ifneq (,$(findstring clang,$(CC)))
  CFLAGS_LIMIT += -flimit-debug-info
  CFLAGS_NO_LIMIT += -fno-limit-debug-info
endif

all: limit nolimit

limit: main.o length_limit.o
	$(CXX) main.o length_limit.o -o limit

nolimit: main.o length_nolimit.o
	$(CXX) main.o length_nolimit.o -o nolimit

main.o: main.cpp
	$(CXX) $(CFLAGS_LIMIT) main.cpp -o main.o

length_limit.o: length.cpp
	$(CXX) $(CFLAGS_LIMIT) length.cpp -o length_limit.o<commit_msg>[TestCppIncompleteTypes] Fix Makefile to handle different archs.<commit_after>LEVEL = ../../../make

CXX_SOURCES = main.cpp length.cpp

CFLAGS_LIMIT = -c $(CXXFLAGS)
CFLAGS_NO_LIMIT = -c $(CXXFLAGS)

ifneq (,$(findstring clang,$(CC)))
  CFLAGS_LIMIT += -flimit-debug-info
  CFLAGS_NO_LIMIT += -fno-limit-debug-info
endif

all: limit nolimit

limit: main.o length_limit.o
	$(CXX) $(LDFLAGS) main.o length_limit.o -o limit

nolimit: main.o length_nolimit.o
	$(CXX) $(LDFLAGS) main.o length_nolimit.o -o nolimit

main.o: main.cpp
	$(CXX) $(CFLAGS_LIMIT) main.cpp -o main.o

length_limit.o: length.cpp
	$(CXX) $(CFLAGS_LIMIT) length.cpp -o length_limit.o
{'fraction_non_alphanumeric': 0.15365653245686114, 'fraction_numerical': 0.0016433853738701725, 'mean_word_length': 4.033057851239669, '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': '2258758', 'n_tokens_mistral': 511, 'n_tokens_neox': 496, 'n_words': 113}