Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 # Makefile for io_uring test tools
0003 CFLAGS += -Wall -Wextra -g -D_GNU_SOURCE
0004 LDLIBS += -lpthread
0005 
0006 all: io_uring-cp io_uring-bench
0007 %: %.c
0008         $(CC) $(CFLAGS) -o $@ $^
0009 
0010 io_uring-bench: syscall.o io_uring-bench.o
0011         $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS)
0012 
0013 io_uring-cp: setup.o syscall.o queue.o
0014 
0015 clean:
0016         $(RM) io_uring-cp io_uring-bench *.o
0017 
0018 .PHONY: all clean