<commit_before>.PHONY: all clean tests doc

TESTS   = tests/
OPT     = -O3
CC      = gcc

all:
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/libhades.c -o libhades.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/optimize.c -o optimize.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/odeint.c   -o odeint.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/expm.c     -o expm.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/parse_npy_dict.c -o parse_npy_dict.o
	${CC} -shared -Wl,-soname,libhades.so -o libhades.so libhades.o optimize.o odeint.o expm.o parse_npy_dict.o

install:
	cp libhades.so /usr/lib

tests:
	${CC} -std=c99 -Wall -O3 ${TESTS}/tests.c -I ${SRC} -L . -I /:/home/physik/theo1/hartmmic/libs -L /:/home/physik/theo1/hartmmic/libs -lm -lhades -lunittest -llapacke -llapack -lblas -lgfortran -o libhades_tests

clean:
	rm -rf *.so *.o
<commit_msg>also copy header files<commit_after>.PHONY: all clean tests doc

TESTS   = tests/
OPT     = -O3
CC      = gcc

all:
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/libhades.c -o libhades.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/optimize.c -o optimize.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/odeint.c   -o odeint.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/expm.c     -o expm.o
	${CC} -std=c99 -Wall ${OPT} -I src/ -c -fpic src/parse_npy_dict.c -o parse_npy_dict.o
	${CC} -shared -Wl,-soname,libhades.so -o libhades.so libhades.o optimize.o odeint.o expm.o parse_npy_dict.o

install:
	cp libhades.so /usr/lib
	cp src/libhades*.h /usr/include
	cp -R src/libhades /usr/include

tests:
	${CC} -std=c99 -Wall -O3 ${TESTS}/tests.c -I ${SRC} -L . -I /:/home/physik/theo1/hartmmic/libs -L /:/home/physik/theo1/hartmmic/libs -lm -lhades -lunittest -llapacke -llapack -lblas -lgfortran -o libhades_tests

clean:
	rm -rf *.so *.o

{'fraction_non_alphanumeric': 0.18534718425369054, 'fraction_numerical': 0.017495899398578457, 'mean_word_length': 2.6094674556213016, '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': '2413288', 'n_tokens_mistral': 898, 'n_tokens_neox': 865, 'n_words': 226}