<commit_before>
JAVAC_CP = "lib/*"
JAVA_CP = "lib/*:bin/"

java = java -Xmx7600m -cp $(JAVA_CP)
javac = javac -Xlint:deprecation -Xlint:unchecked -cp $(JAVAC_CP)

lib/%.jar:
	tar axvf lib.tar.xz

bin/%.class: src/no/uio/ifi/qure/%.java
	@$(javac) src/no/uio/ifi/qure/*.java -d bin/

compile: bin/*.class

run: 
	date; $(java) no.uio.ifi.qure.Qure; date<commit_msg>Fixed missing deps. in Makefile.<commit_after>
JAVAC_CP = "lib/*"
JAVA_CP = "lib/*:bin/"

src_prefix = src/
bin_prefix = bin/
package_name = no/uio/ifi/qure/

java = java -Xmx7600m -cp $(JAVA_CP)
javac = javac -Xlint:deprecation -Xlint:unchecked -cp $(JAVAC_CP)

CLASSES = \
        BintreeFactory.java \
        Bintree.java \
        Block.java \
        Config.java \
        GeometryProvider.java \
        GeometryRelation.java \
        GeometrySpace.java \
        Intersection.java \
        Progress.java \
        Qure.java \
        Relation.java \
        RelationshipGraph.java \
        Representation.java \
        Space.java \
        SpaceProvider.java \
        SpaceToBintree.java

source_files = $(addprefix $(src_prefix), $(addprefix $(package_name), $(CLASSES)))
binary_files = $(addprefix $(bin_prefix), $(addprefix $(package_name), $(CLASSES)))

lib/jts.jar lib/postgresql-9.4.1208.jar:
	tar axvf lib.tar.gz

libs : lib/jts.jar lib/postgresql-9.4.1208.jar

bin :
	mkdir -p bin

$(binary_files) : libs bin $(source_files)
	@$(javac) src/no/uio/ifi/qure/*.java -d bin/

compile : $(binary_files)

run: 
	date; $(java) no.uio.ifi.qure.Qure; date
{'fraction_non_alphanumeric': 0.15545395166557804, 'fraction_numerical': 0.013063357282821686, 'mean_word_length': 2.727493917274939, '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': '5580069', 'n_tokens_mistral': 632, 'n_tokens_neox': 603, 'n_words': 114}