Merge tag 'kbuild-fixes-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/masahi...
[linux/fpc-iii.git] / tools / io_uring / Makefile
blob00f146c54c539a8f450ffc6234d7bb21a9b2eb65
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for io_uring test tools
3 CFLAGS += -Wall -Wextra -g -D_GNU_SOURCE
4 LDLIBS += -lpthread
6 all: io_uring-cp io_uring-bench
7 %: %.c
8 $(CC) $(CFLAGS) -o $@ $^
10 io_uring-bench: syscall.o io_uring-bench.o
11 $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
13 io_uring-cp: setup.o syscall.o queue.o
15 clean:
16 $(RM) io_uring-cp io_uring-bench *.o
18 .PHONY: all clean