build bench/bench for make check, to lessen the chance that it bitrots again
authorSteven G. Johnson <stevenj@alum.mit.edu>
Sat, 28 Mar 2015 18:47:29 +0000 (14:47 -0400)
committerSteven G. Johnson <stevenj@alum.mit.edu>
Sat, 28 Mar 2015 18:47:29 +0000 (14:47 -0400)
Makefile
bench/Makefile

index 628d137c395077daab396e95290865da07e57826..aba2453b1279bbb07009992382ed3cdd29669b5c 100644 (file)
--- 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
index 629c68696fda413f3ed616a96ff96612369b5de9..ea12dcbba27b626d8636ebef9b8ce3dbc29be246 100644 (file)
@@ -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)