summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@alum.mit.edu>2015-03-28 14:47:29 -0400
committerSteven G. Johnson <stevenj@alum.mit.edu>2015-03-28 14:47:29 -0400
commit0528e9cda649de9cb14f95c9fa37fc8cc929f856 (patch)
treefdbd591797f9f5a3597b68ae03fa35a454f2f1cc
parentf981f04d0b54d8502237bd659e3bbb6c324e35ed (diff)
downloadlibutf8proc-0528e9cda649de9cb14f95c9fa37fc8cc929f856.tar.gz
libutf8proc-0528e9cda649de9cb14f95c9fa37fc8cc929f856.tar.bz2
build bench/bench for make check, to lessen the chance that it bitrots again
-rw-r--r--Makefile3
-rw-r--r--bench/Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 628d137..aba2453 100644
--- a/Makefile
+++ b/Makefile
@@ -105,7 +105,8 @@ test/printproperty: test/printproperty.c utf8proc.o utf8proc.h test/tests.h
test/charwidth: test/charwidth.c utf8proc.o utf8proc.h test/tests.h
$(cc) test/charwidth.c utf8proc.o -o $@
-check: test/normtest data/NormalizationTest.txt test/graphemetest data/GraphemeBreakTest.txt test/printproperty test/charwidth
+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
+ $(MAKE) -C bench
test/normtest data/NormalizationTest.txt
test/graphemetest data/GraphemeBreakTest.txt
test/charwidth
diff --git a/bench/Makefile b/bench/Makefile
index 629c686..ea12dcb 100644
--- a/bench/Makefile
+++ b/bench/Makefile
@@ -5,7 +5,7 @@ CFLAGS = -O2 -std=c99 -pedantic -Wall
all: bench
-LIBUTF8PROC = ../libutf8proc.a
+LIBUTF8PROC = ../utf8proc.o
bench: bench.o util.o $(LIBUTF8PROC)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ bench.o util.o $(LIBUTF8PROC)