<commit_before>.PHONY : test

OPTIMIZE = -g
INCLUDE  = -I.
CC       = gcc
WARNINGS = -Wall -ansi -pedantic -Wno-long-long -Wextra -Wdeclaration-after-statement -Wendif-labels
CFLAGS   = $(WARNINGS) $(OPTIMIZE) $(INCLUDE)
COMPILE  = $(CC) $(CFLAGS)
LINK     = $(COMPILE)

all : t/localtime_test

localtime64.o : localtime64.h localtime64.c Makefile

t/bench : t/bench.c localtime64.o
	$(LINK) localtime64.o t/bench.c -o $@

bench : t/bench
	time t/bench

t/localtime_test : t/localtime_test.c localtime64.o
	$(LINK) localtime64.o t/localtime_test.c -o $@

t/gmtime_test : t/gmtime_test.c localtime64.o<commit_msg> r67106@windhund:  schwern | 2008-09-29 15:36:29 -0400  Have make compile the object file rather than the test because that seems  more like the "build" step.<commit_after>.PHONY : test

OPTIMIZE = -g
INCLUDE  = -I.
CC       = gcc
WARNINGS = -Wall -ansi -pedantic -Wno-long-long -Wextra -Wdeclaration-after-statement -Wendif-labels
CFLAGS   = $(WARNINGS) $(OPTIMIZE) $(INCLUDE)
COMPILE  = $(CC) $(CFLAGS)
LINK     = $(COMPILE)

all : localtime64.o

localtime64.o : localtime64.h localtime64.c Makefile

t/bench : t/bench.c localtime64.o
	$(LINK) localtime64.o t/bench.c -o $@

bench : t/bench
	time t/bench

t/localtime_test : t/localtime_test.c localtime64.o
	$(LINK) localtime64.o t/localtime_test.c -o $@

t/gmtime_test : t/gmtime_test.c localtime64.o
{'fraction_non_alphanumeric': 0.13543191800878476, 'fraction_numerical': 0.04172767203513909, 'mean_word_length': 3.587248322147651, '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': '6751079', 'n_tokens_mistral': 594, 'n_tokens_neox': 546, 'n_words': 126}