summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b0d6e46..8a7b270 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,8 @@ BINS := \
bin/tests/mksock \
bin/tests/units \
bin/tests/xspawnee \
- bin/tests/xtouch
+ bin/tests/xtouch \
+ bin/bench/ioq
all: ${BINS}
.PHONY: all
@@ -215,6 +216,14 @@ ${DISTCHECKS}::
&& ${MAKE} check TEST_FLAGS="--sudo --verbose=skipped"
@test "$${GITHUB_ACTIONS-}" != true || printf '::endgroup::\n'
+## Benchmarks (`make bench`)
+
+bench: bin/bench/ioq
+.PHONY: bench
+
+bin/bench/ioq: obj/bench/ioq.o ${LIBBFS}
+OBJS += obj/bench/ioq.o
+
## Automatic dependency tracking
# Rebuild when the configuration changes