build bench/bench for make check, to lessen the chance that it bitrots again
This commit is contained in:
parent
f981f04d0b
commit
0528e9cda6
3
Makefile
3
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
|
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
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user