<commit_before>CFLAGS = -g
LDFLAGS = -L../../ElectricFence-2.2.0 -L.. -lefence -lpod
LESS = /Users/james/Applications/MacVim.app/Contents/Resources/vim/runtime/macros/less.sh
tests = test_pod_char test_pod_object test_pod_string



.PHONY:	all
all:	$(tests) test ../libpod.a

test:	test.c
	$(CC) $(CFLAGS) test.c -o test

test_pod_char:	test_pod_char.c ../libpod.a
	$(CC) $(CFLAGS) $(LDFLAGS) test_pod_char.c -o test_pod_char

test_pod_object:	test_pod_object.c ../libpod.a
	$(CC) $(CFLAGS) $(LDFLAGS) test_pod_object.c -o test_pod_object

test_pod_string:	test_pod_string.c ../libpod.a
	$(CC) $(CFLAGS) $(LDFLAGS) test_pod_string.c -o test_pod_string

.PHONY: results
results:	all
	./test > test.results 2>&1
	$(LESS) test.results

.PHONY:	clean<commit_msg>Made Makefile work with Linux<commit_after>CC=gcc
CFLAGS = -g
# LDFLAGS = -L.. -lpod -L../../ElectricFence-2.2.0 -lefence
LDFLAGS = -L.. -lpod -lefence
# LESS = /Users/james/Applications/MacVim.app/Contents/Resources/vim/runtime/macros/less.sh
LESS = /usr/share/vim/vim73/macros/less.sh
tests = test_pod_char test_pod_object test_pod_string



.PHONY:	all
all:	$(tests) test ../libpod.a

test:	test.c
	$(CC) $(CFLAGS) test.c -o test

test_pod_char:	test_pod_char.c ../libpod.a
	$(CC) $(CFLAGS) test_pod_char.c -o test_pod_char $(LDFLAGS)

test_pod_object:	test_pod_object.c ../libpod.a
	$(CC) $(CFLAGS) $(LDFLAGS) test_pod_object.c -o test_pod_object $(LDFLAGS)

test_pod_string:	test_pod_string.c ../libpod.a
	$(CC) $(CFLAGS) $(LDFLAGS) test_pod_string.c -o test_pod_string $(LDFLAGS)

.PHONY: results
results:	all
	./test > test.results 2>&1
	$(LESS) test.results

.PHONY:	clean
{'fraction_non_alphanumeric': 0.1617826617826618, 'fraction_numerical': 0.007326007326007326, 'mean_word_length': 4.090062111801243, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3982837', 'n_tokens_mistral': 722, 'n_tokens_neox': 695, 'n_words': 140}