summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)