<commit_before># ocamlbuild includes require absolute paths, but do evaluate `..`
LLVM_ROOT=$(CURDIR)/../llvm/build-Debug+Asserts
LLVM_DIR=${LLVM_ROOT}/lib/ocaml/
CAMLIMAGES_DIR=$(CURDIR)/../camlimages/src/

LLVM_FLAGS=-cflags -I,${LLVM_DIR} -lflags -I,${LLVM_DIR}
CAMLIMAGES_FLAGS=-cflags -I,${CAMLIMAGES_DIR} -lflags -I,${CAMLIMAGES_DIR}

FLAGS=${LLVM_FLAGS} ${CAMLIMAGES_FLAGS} -cflags -annot

OCAMLBUILD=ocamlbuild
BUILD_CMD=${OCAMLBUILD} ${FLAGS}

TARGETS=cg_test.ml convolution.ml
DEBUG_BYTE=$(patsubst %.ml,%.d.byte,${TARGETS})
DEBUG_NATIVE=$(patsubst %.ml,%.d.native,${TARGETS})
BYTE=$(patsubst %.ml,%.byte,${TARGETS})
NATIVE=$(patsubst %.ml,%.native,${TARGETS})

%.byte: %.ml dummy
	${BUILD_CMD} $@

%.native: %.ml dummy
	${BUILD_CMD} $@

%.d.byte: %.ml dummy
	${BUILD_CMD} $@

%.d.native: %.ml dummy
	${BUILD_CMD} $@

byte: ${BYTE}
<commit_msg>Adding brightness example to Makefile<commit_after># ocamlbuild includes require absolute paths, but do evaluate `..`
LLVM_ROOT=$(CURDIR)/../llvm/build-Debug+Asserts
LLVM_DIR=${LLVM_ROOT}/lib/ocaml/
CAMLIMAGES_DIR=$(CURDIR)/../camlimages/src/

LLVM_FLAGS=-cflags -I,${LLVM_DIR} -lflags -I,${LLVM_DIR}
CAMLIMAGES_FLAGS=-cflags -I,${CAMLIMAGES_DIR} -lflags -I,${CAMLIMAGES_DIR}

FLAGS=${LLVM_FLAGS} ${CAMLIMAGES_FLAGS} -cflags -annot

OCAMLBUILD=ocamlbuild
BUILD_CMD=${OCAMLBUILD} ${FLAGS}

TARGETS=cg_test.ml convolution.ml brightness.ml
DEBUG_BYTE=$(patsubst %.ml,%.d.byte,${TARGETS})
DEBUG_NATIVE=$(patsubst %.ml,%.d.native,${TARGETS})
BYTE=$(patsubst %.ml,%.byte,${TARGETS})
NATIVE=$(patsubst %.ml,%.native,${TARGETS})

%.byte: %.ml dummy
	${BUILD_CMD} $@

%.native: %.ml dummy
	${BUILD_CMD} $@

%.d.byte: %.ml dummy
	${BUILD_CMD} $@

%.d.native: %.ml dummy
	${BUILD_CMD} $@

byte: ${BYTE}

{'fraction_non_alphanumeric': 0.21019473081328752, 'fraction_numerical': 0.0, 'mean_word_length': 5.960159362549801, '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': '5470323', 'n_tokens_mistral': 722, 'n_tokens_neox': 710, 'n_words': 115}