<commit_before>CC=clang++

FLAGS=  -O2 \
		-std=c++11 \
		-mmacosx-version-min=10.10 \
		-I/usr/local/Cellar/root/5.34.24/include/root \
		-L/usr/local/Cellar/root/5.34.24/lib/root \
		-lCore \
		-lCint \
		-lRIO \
		-lNet \
		-lHist \
		-lGraf \
		-lGraf3d \
		-lGpad \
		-lTree \
		-lRint \
		-lPostscript \
		-lMatrix \
		-lPhysics \
		-lMathCore \
		-lThread \
		-lpthread \
		-lm \
		-ldl

DEPS = breedSFC.h
PROGRAMS = playground tests
PROGRAMS_OBJS = $(foreach X,$(PROGRAMS),$(X).o)
OBJS = breedSFC.o

all: $(PROGRAMS)

%.o: %.cpp $(DEPS)
	$(CC) $(FLAGS) -c -o $@ $<

playground: $(OBJS) playground.o
	$(CC) $(FLAGS) -o $@ $^

tests: $(OBJS) tests.o
	$(CC) $(FLAGS) -o $@ $^

clean:
	rm -f $(PROGRAMS) $(OBJS)<commit_msg>Makefile: general rule for programs, link flags.<commit_after>CC=clang++

FLAGS=  -O2 \
		-std=c++11 \
		-mmacosx-version-min=10.10 \
		-I/usr/local/Cellar/root/5.34.24/include/root

LINK_FLAGS= $(FLAGS) \
			-L/usr/local/Cellar/root/5.34.24/lib/root \
			-lCore \
			-lCint \
			-lRIO \
			-lNet \
			-lHist \
			-lGraf \
			-lGraf3d \
			-lGpad \
			-lTree \
			-lRint \
			-lPostscript \
			-lMatrix \
			-lPhysics \
			-lMathCore \
			-lThread \
			-lpthread \
			-lm \
			-ldl

DEPS = breedSFC.h
PROGRAMS = playground tests
PROGRAMS_OBJS = $(foreach X,$(PROGRAMS),$(X).o)
OBJS = breedSFC.o

all: $(PROGRAMS)

# compile object files
%.o: %.cpp $(DEPS)
	$(CC) $(FLAGS) -c -o $@ $<

# link each program
# a program depends on program.o and other objects
$(PROGRAMS): %: %.o $(OBJS)
	$(CC) $(LINK_FLAGS) -o $@ $^

clean:
	rm -f $(PROGRAMS) $(PROGRAMS_OBJS) $(OBJS)
{'fraction_non_alphanumeric': 0.2022613065326633, 'fraction_numerical': 0.022613065326633167, 'mean_word_length': 2.2510204081632654, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1098235', 'n_tokens_mistral': 851, 'n_tokens_neox': 747, 'n_words': 138}