<commit_before>CC=/fs/sz-user-supported/Linux-x86_64/packages/gcc-4.2.4/bin/g++
CFLAGS=-O3 -fopenmp
INCLUDEDIR=/fs/szannotation/src/boost_1_42_0
CPPUNIT_PATH = /fs/sz-user-supported/Linux-x86_64
EXE_FILES = correct count-kmers count-qmers reduce-kmers reduce-qmers trim build_bithash correct_stats
.PHONY: all clean

all: $(EXE_FILES)

clean:
	-rm $(EXE_FILES) *.o

correct: correct.cpp Read.o bithash.o edit.o
	$(CC) $(CFLAGS) correct.cpp Read.o bithash.o edit.o -o correct

count-kmers: count-kmers.cpp count.o
	$(CC) $(CFLAGS) count-kmers.cpp count.o -o count-kmers

count-qmers: count-qmers.cpp count.o
	$(CC) $(CFLAGS) count-qmers.cpp count.o -o count-qmers

reduce-kmers: reduce-kmers.cpp
	$(CC) $(CFLAGS) reduce-kmers.cpp -o reduce-kmers

reduce-qmers: reduce-qmers.cpp
	$(CC) $(CFLAGS) reduce-qmers.cpp -o reduce-qmers

trim: trim.cpp Read.o bithash.o edit.o
	$(CC) $(CFLAGS) trim.cpp Read.o bithash.o edit.o -o trim

build_bithash: build_bithash.cpp bithash.o
	$(CC) $(CFLAGS) build_bithash.cpp bithash.o -o build_bithash

correct_stats: stats.cpp
	$(CC) $(CFLAGS) stats.cpp -o correct_stats

Read.o: Read.cpp Read.h bithash.o
	$(CC) $(CFLAGS) -c Read.cpp

edit.o: edit.cpp edit.h
	$(CC) $(CFLAGS) -c edit.cpp

bithash.o: bithash.cpp bithash.h
	$(CC) $(CFLAGS) -c bithash.cpp

count.o: count.cpp
	$(CC) $(CFLAGS) -c count.cpp

#test: bithash.cpp bithash.h mainTest.cpp bithashTest.cpp bithashTest.h
#	$(CC) $(CFLAGS) -I${CPPUNIT_PATH}/include -L${CPPUNIT_PATH}/lib -lcppunit -ldl mainTest.cpp ReadTest.cpp Read.cpp prefix_tree.cpp node.cpp -o test
#	$(CC) $(CFLAGS) -I${CPPUNIT_PATH}/include -L${CPPUNIT_PATH}/lib -lcppunit -ldl mainTest.cpp bithashTest.cpp bithash.cpp -o test<commit_msg>More general makefile<commit_after>CC=g++
CFLAGS=-O3 -fopenmp
#INCLUDEDIR=/fs/szannotation/src/boost_1_42_0
EXE_FILES = correct count-kmers count-qmers reduce-kmers reduce-qmers trim build_bithash correct_stats
.PHONY: all clean

all: $(EXE_FILES)

clean:
	-rm $(EXE_FILES) *.o

correct: correct.cpp Read.o bithash.o edit.o
	$(CC) $(CFLAGS) correct.cpp Read.o bithash.o edit.o -o correct

count-kmers: count-kmers.cpp count.o
	$(CC) $(CFLAGS) count-kmers.cpp count.o -o count-kmers

count-qmers: count-qmers.cpp count.o
	$(CC) $(CFLAGS) count-qmers.cpp count.o -o count-qmers

reduce-kmers: reduce-kmers.cpp
	$(CC) $(CFLAGS) reduce-kmers.cpp -o reduce-kmers

reduce-qmers: reduce-qmers.cpp
	$(CC) $(CFLAGS) reduce-qmers.cpp -o reduce-qmers

trim: trim.cpp Read.o bithash.o edit.o
	$(CC) $(CFLAGS) trim.cpp Read.o bithash.o edit.o -o trim

build_bithash: build_bithash.cpp bithash.o
	$(CC) $(CFLAGS) build_bithash.cpp bithash.o -o build_bithash

correct_stats: stats.cpp
	$(CC) $(CFLAGS) stats.cpp -o correct_stats

Read.o: Read.cpp Read.h bithash.o
	$(CC) $(CFLAGS) -c Read.cpp

edit.o: edit.cpp edit.h
	$(CC) $(CFLAGS) -c edit.cpp

bithash.o: bithash.cpp bithash.h
	$(CC) $(CFLAGS) -c bithash.cpp

count.o: count.cpp
	$(CC) $(CFLAGS) -c count.cpp
{'fraction_non_alphanumeric': 0.15755517826825127, 'fraction_numerical': 0.007130730050933786, 'mean_word_length': 4.177504393673111, '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': '7408535', 'n_tokens_mistral': 1278, 'n_tokens_neox': 1257, 'n_words': 281}