Skip to content

Commit 0528e9c

Browse files
committed
build bench/bench for make check, to lessen the chance that it bitrots again
1 parent f981f04 commit 0528e9c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ test/printproperty: test/printproperty.c utf8proc.o utf8proc.h test/tests.h
105105
test/charwidth: test/charwidth.c utf8proc.o utf8proc.h test/tests.h
106106
$(cc) test/charwidth.c utf8proc.o -o $@
107107

108-
check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/charwidth
108+
check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/charwidth bench/bench.c bench/util.c bench/util.h utf8proc.o
109+
$(MAKE) -C bench
109110
test/normtest data/NormalizationTest.txt
110111
test/graphemetest data/GraphemeBreakTest.txt
111112
test/charwidth

bench/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ CFLAGS = -O2 -std=c99 -pedantic -Wall
55

66
all: bench
77

8-
LIBUTF8PROC = ../libutf8proc.a
8+
LIBUTF8PROC = ../utf8proc.o
99

1010
bench: bench.o util.o $(LIBUTF8PROC)
1111
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ bench.o util.o $(LIBUTF8PROC)

0 commit comments

Comments
 (0)