Sha256: f83ce5c3fc0d8518ad68063a94d411e3002ffdb4875e1e841bd99fa7880ca5cb

Contents?: true

Size: 810 Bytes

Versions: 17

Compression:

Stored size: 810 Bytes

Contents

CPPFLAGS ?=
override CPPFLAGS += -D_GNU_SOURCE -I../src/include/
CFLAGS ?= -g -O2 -Wall
LDFLAGS ?=
override LDFLAGS += -L../src/ -luring

include ../Makefile.quiet

ifneq ($(MAKECMDGOALS),clean)
include ../config-host.mak
endif

LDFLAGS ?=
override LDFLAGS += -L../src/ -luring -lpthread

example_srcs := \
	io_uring-close-test.c \
	io_uring-cp.c \
	io_uring-test.c \
	io_uring-udp.c \
	link-cp.c \
	poll-bench.c \
	send-zerocopy.c

all_targets :=


ifdef CONFIG_HAVE_UCONTEXT
	example_srcs += ucontext-cp.c
endif
all_targets += ucontext-cp

example_targets := $(patsubst %.c,%,$(patsubst %.cc,%,$(example_srcs)))
all_targets += $(example_targets)


all: $(example_targets)

%: %.c ../src/liburing.a
	$(QUIET_CC)$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ $< $(LDFLAGS)

clean:
	@rm -f $(all_targets)

.PHONY: all clean

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
polyphony-1.5 vendor/liburing/examples/Makefile
polyphony-1.4 vendor/liburing/examples/Makefile
polyphony-1.3 vendor/liburing/examples/Makefile
polyphony-1.2.1 vendor/liburing/examples/Makefile
polyphony-1.2 vendor/liburing/examples/Makefile
polyphony-1.1.1 vendor/liburing/examples/Makefile
polyphony-1.1 vendor/liburing/examples/Makefile
polyphony-1.0.2 vendor/liburing/examples/Makefile
polyphony-1.0.1 vendor/liburing/examples/Makefile
polyphony-1.0 vendor/liburing/examples/Makefile
polyphony-0.99.6 vendor/liburing/examples/Makefile
polyphony-0.99.5 vendor/liburing/examples/Makefile
polyphony-0.99.4 vendor/liburing/examples/Makefile
polyphony-0.99.3 vendor/liburing/examples/Makefile
polyphony-0.99.2 vendor/liburing/examples/Makefile
polyphony-0.99.1 vendor/liburing/examples/Makefile
polyphony-0.99 vendor/liburing/examples/Makefile