xref: /kernel/linux/linux-5.10/tools/io_uring/Makefile (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/io_uring/
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci# Makefile for io_uring test tools
38c2ecf20Sopenharmony_ciCFLAGS += -Wall -Wextra -g -D_GNU_SOURCE
48c2ecf20Sopenharmony_ciLDLIBS += -lpthread
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciall: io_uring-cp io_uring-bench
78c2ecf20Sopenharmony_ci%: %.c
88c2ecf20Sopenharmony_ci	$(CC) $(CFLAGS) -o $@ $^
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciio_uring-bench: syscall.o io_uring-bench.o
118c2ecf20Sopenharmony_ci	$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciio_uring-cp: setup.o syscall.o queue.o
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciclean:
168c2ecf20Sopenharmony_ci	$(RM) io_uring-cp io_uring-bench *.o
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci.PHONY: all clean
19

Indexes created Thu Nov 07 10:32:03 CST 2024