summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index e4fe57d..b94e29e 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -2,14 +2,15 @@ CFLAGS ?= -g -O2 -Wall -D_GNU_SOURCE -L../src/
all_targets += poll poll-cancel ring-leak fsync io_uring_setup io_uring_register \
io_uring_enter nop sq-full cq-full 35fa71a030ca-test \
- 917257daa0fe-test b19062a56726-test eeed8b54e0df-test link
+ 917257daa0fe-test b19062a56726-test eeed8b54e0df-test link \
+ send_recvmsg
all: $(all_targets)
test_srcs := poll.c poll-cancel.c ring-leak.c fsync.c io_uring_setup.c \
io_uring_register.c io_uring_enter.c nop.c sq-full.c cq-full.c \
35fa71a030ca-test.c 917257daa0fe-test.c b19062a56726-test.c \
- eeed8b54e0df-test link
+ eeed8b54e0df-test.c link.c send_recvmsg.c
test_objs := $(patsubst %.c,%.ol,$(test_srcs))
@@ -43,6 +44,8 @@ eeed8b54e0df-test: eeed8b54e0df-test.c
$(CC) $(CFLAGS) -o $@ eeed8b54e0df-test.c -luring
link: link.c
$(CC) $(CFLAGS) -o $@ link.c -luring
+send_recvmsg: send_recvmsg.c
+ $(CC) $(CFLAGS) -o $@ send_recvmsg.c -luring
clean:
rm -f $(all_targets) $(test_objs)