summaryrefslogtreecommitdiffstats
path: root/tests/profile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/profile/Makefile')
-rw-r--r--tests/profile/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/profile/Makefile b/tests/profile/Makefile
new file mode 100644
index 0000000000..16c6e43bc2
--- /dev/null
+++ b/tests/profile/Makefile
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-3.0+
+
+COMMON_CFLAGS=-I ../../src/ -I ../../
+PROFILE_CFLAGS=-O1 -ggdb -Wall -Wextra
+
+benchmark-procfile-parser: benchmark-procfile-parser.c
+ gcc ${PROFILE_CFLAGS} ${COMMON_CFLAGS} -o $@ $^ ../../src/log.o ../../src/procfile.o ../../src/threads.o ../../src/locks.o ../../src/common.o ../../src/clocks.o ../../src/web_buffer.o ../../src/storage_number.o -pthread -lm
+
+statsd-stress: statsd-stress.c
+ gcc -O2 -Wall -Wextra -o $@ $^ -pthread
+
+all: statsd-stress benchmark-procfile-parser