summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-09-20 07:10:08 -0600
committerJens Axboe <axboe@kernel.dk>2019-09-20 07:10:08 -0600
commit9fd8049cac30daab23d504ab67476c44d6a88251 (patch)
tree3c15fb348247ff35f8d540536b729b47450b47ad /examples/Makefile
parentefb4e867013f64df7db92a3dee9f9d497f7de3b6 (diff)
parent20b3ce6c52d7f81e32395e4a94846d0c25ddfc34 (diff)
downloadliburing-9fd8049cac30daab23d504ab67476c44d6a88251.tar.gz
liburing-9fd8049cac30daab23d504ab67476c44d6a88251.tar.bz2
Merge branch 'master' of https://github.com/CarterLi/liburing
* 'master' of https://github.com/CarterLi/liburing: examples/ucontext-cp: use ucontext with liburing
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 1539ecc..7b9a605 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,7 +1,7 @@
CFLAGS ?= -g -O2
override CFLAGS += -Wall -D_GNU_SOURCE -L../src/ -I../src/include/
-all_targets += io_uring-test io_uring-cp link-cp
+all_targets += io_uring-test io_uring-cp link-cp ucontext-cp
all: $(all_targets)
@@ -15,6 +15,8 @@ io_uring-cp: io_uring-cp.c
$(CC) $(CFLAGS) -o $@ io_uring-cp.c -luring
link-cp: link-cp.c
$(CC) $(CFLAGS) -o $@ link-cp.c -luring
+ucontext-cp: ucontext-cp.c
+ $(CC) $(CFLAGS) -o $@ ucontext-cp.c -luring
clean:
rm -f $(all_targets) $(test_objs)