<commit_before>.PHONY: all clean

TEST_OBJS = test_dddg_generation.o test_init_base_address.o \
            test_dynamic_method_name.o test_loop_pipelining.o \
            test_loop_unrolling.o test_rm_induction_var.o test_rm_phi.o \
            test_spm_part.o test_store_buffer.o \
            test_tree_height_reduction.o test_loop_flatten.o
TESTS = $(patsubst %.o,%,$(TEST_OBJS))

TEST_DEPS = $(ALADDIN_HOME)/libaladdin.a

CFLAGS = -g $(BITWIDTH) -O2 -std=c++0x -I$(BOOST_ROOT) \
         -I$(ALADDIN_HOME)/common -I$(MYSQL_HOME)
LFLAGS = -g -lz -L$(BOOST_ROOT)/stage/lib  -lboost_graph -lboost_regex \
         -L$(ALADDIN_HOME) -laladdin -lmysqlcppconn

all : $(TESTS)

test : $(TESTS)
	@for unit_test in $(TESTS) ; do \
    echo $$unit_test ; \
		./$$unit_test ; \
	done

$(ALADDIN_HOME)/libaladdin.a :
	$(MAKE) -C ../common lib

$(TESTS) : % : %.o $(TEST_DEPS)
	$(CXX) $(CFLAGS) -o $@ $*.o $(LFLAGS)

%.o : %.cpp
	$(CXX) -c $(CFLAGS) $< -o $*.o

clean:
	rm -f *.o
	rm -f $(TESTS)
	rm -f $(ALADDIN_HOME)/libaladdin.a<commit_msg>Remove database flags.<commit_after>.PHONY: all clean

TEST_OBJS = test_dddg_generation.o test_init_base_address.o \
            test_dynamic_method_name.o test_loop_pipelining.o \
            test_loop_unrolling.o test_rm_induction_var.o test_rm_phi.o \
            test_spm_part.o test_store_buffer.o \
            test_tree_height_reduction.o test_loop_flatten.o
TESTS = $(patsubst %.o,%,$(TEST_OBJS))

TEST_DEPS = $(ALADDIN_HOME)/libaladdin.a

CFLAGS = -g $(BITWIDTH) -O2 -std=c++0x -I$(BOOST_ROOT) \
         -I$(ALADDIN_HOME)/common
LFLAGS = -g -lz -L$(BOOST_ROOT)/stage/lib  -lboost_graph -lboost_regex \
         -L$(ALADDIN_HOME) -laladdin

all : $(TESTS)

test : $(TESTS)
	@for unit_test in $(TESTS) ; do \
    echo $$unit_test ; \
		./$$unit_test ; \
	done

$(ALADDIN_HOME)/libaladdin.a :
	$(MAKE) -C ../common lib

$(TESTS) : % : %.o $(TEST_DEPS)
	$(CXX) $(CFLAGS) -o $@ $*.o $(LFLAGS)

%.o : %.cpp
	$(CXX) -c $(CFLAGS) $< -o $*.o

clean:
	rm -f *.o
	rm -f $(TESTS)
	rm -f $(ALADDIN_HOME)/libaladdin.a
{'fraction_non_alphanumeric': 0.169921875, 'fraction_numerical': 0.001953125, 'mean_word_length': 2.9709302325581395, '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': '5243281', 'n_tokens_mistral': 900, 'n_tokens_neox': 872, 'n_words': 159}