build bench/bench for make check, to lessen the chance that it bitrots again

This commit is contained in:
Steven G. Johnson 2015-03-28 14:47:29 -04:00
parent f981f04d0b
commit 0528e9cda6
2 changed files with 3 additions and 2 deletions

View File

@ -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 test/charwidth: test/charwidth.c utf8proc.o utf8proc.h test/tests.h
$(cc) test/charwidth.c utf8proc.o -o $@ $(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/normtest data/NormalizationTest.txt
test/graphemetest data/GraphemeBreakTest.txt test/graphemetest data/GraphemeBreakTest.txt
test/charwidth test/charwidth

View File

@ -5,7 +5,7 @@ CFLAGS = -O2 -std=c99 -pedantic -Wall
all: bench all: bench
LIBUTF8PROC = ../libutf8proc.a LIBUTF8PROC = ../utf8proc.o
bench: bench.o util.o $(LIBUTF8PROC) bench: bench.o util.o $(LIBUTF8PROC)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ bench.o util.o $(LIBUTF8PROC) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bench.o util.o $(LIBUTF8PROC)