<commit_before>TARGET1 = qflex

#Set these:
CXX = g++
#CXX = icpc

FLAGS =  -O3  -std=c++17  -march=native -Idocopt.cpp/

ifeq ($(CXX), icpc)
	FLAGS += -mkl -qopenmp -DMKL_TENSOR
else
  FLAGS += -fopenmp -lgsl -lgslcblas
endif

TEST_DIR = tests

OBJS1 = main.o evaluate_circuit.o tensor.o contraction_utils.o read_circuit.o

$(TARGET1): $(OBJS1)
	$(CXX) -o $(TARGET1).x $(OBJS1) $(FLAGS) docopt.cpp/docopt.cpp

main.o: main.cpp
	$(CXX) -c main.cpp docopt.cpp/docopt.cpp $(FLAGS)

evaluate_circuit.o: evaluate_circuit.cpp
	$(CXX) -c evaluate_circuit.cpp $(FLAGS)

read_circuit.o: read_circuit.cpp
	$(CXX) -c read_circuit.cpp $(FLAGS)

contraction_utils.o: contraction_utils.cpp
	$(CXX) -c contraction_utils.cpp $(FLAGS)

tensor.o: tensor.cpp
	$(CXX) -c tensor.cpp $(FLAGS)


.PHONY: clean<commit_msg>Fix Makefile to create docopt.o<commit_after>TARGET1 = qflex

#Set these:
CXX = g++
#CXX = icpc

FLAGS =  -O3  -std=c++17  -march=native -Idocopt.cpp/

ifeq ($(CXX), icpc)
	FLAGS += -mkl -qopenmp -DMKL_TENSOR
else
  FLAGS += -fopenmp -lgsl -lgslcblas
endif

TEST_DIR = tests

OBJS1 = main.o evaluate_circuit.o tensor.o contraction_utils.o read_circuit.o docopt.o

$(TARGET1): $(OBJS1)
	$(CXX) -o $(TARGET1).x $(OBJS1) $(FLAGS)

main.o: main.cpp
	$(CXX) -c main.cpp $(FLAGS)

evaluate_circuit.o: evaluate_circuit.cpp
	$(CXX) -c evaluate_circuit.cpp $(FLAGS)

read_circuit.o: read_circuit.cpp
	$(CXX) -c read_circuit.cpp $(FLAGS)

contraction_utils.o: contraction_utils.cpp
	$(CXX) -c contraction_utils.cpp $(FLAGS)

tensor.o: tensor.cpp
	$(CXX) -c tensor.cpp $(FLAGS)

docopt.o:
	$(CXX) -c docopt.cpp/docopt.cpp $(FLAGS)


.PHONY: clean
{'fraction_non_alphanumeric': 0.16279069767441862, 'fraction_numerical': 0.011015911872705019, 'mean_word_length': 4.1415094339622645, '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': '1280199', 'n_tokens_mistral': 730, 'n_tokens_neox': 674, 'n_words': 157}