summaryrefslogtreecommitdiff
path: root/regressions/ck_ring/benchmark/Makefile
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2016-11-28 20:08:52 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2016-11-28 20:08:52 +0000
commit85bd1e2d0af14ce6dfa00ef86745a52c0b500ca5 (patch)
treecd409659d3827b3b1c810ebd9d629408d14696f2 /regressions/ck_ring/benchmark/Makefile
downloadsrc-test2-85bd1e2d0af14ce6dfa00ef86745a52c0b500ca5.tar.gz
src-test2-85bd1e2d0af14ce6dfa00ef86745a52c0b500ca5.zip
Notes
Diffstat (limited to 'regressions/ck_ring/benchmark/Makefile')
-rw-r--r--regressions/ck_ring/benchmark/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/regressions/ck_ring/benchmark/Makefile b/regressions/ck_ring/benchmark/Makefile
new file mode 100644
index 000000000000..4087ed18fb04
--- /dev/null
+++ b/regressions/ck_ring/benchmark/Makefile
@@ -0,0 +1,14 @@
+.PHONY: clean distribution
+
+OBJECTS=latency
+
+all: $(OBJECTS)
+
+latency: latency.c ../../../include/ck_ring.h
+ $(CC) $(CFLAGS) -o latency latency.c
+
+clean:
+ rm -rf *~ *.o $(OBJECTS) *.dSYM *.exe
+
+include ../../../build/regressions.build
+CFLAGS+=-D_GNU_SOURCE