Merge tag 'pm-6.16-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
[linux-block.git] / tools / testing / radix-tree / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1366c37e 2
74579d8d 3.PHONY: clean
1366c37e 4
74579d8d
LS
5TARGETS = main idr-test multiorder xarray maple
6CORE_OFILES = $(SHARED_OFILES) xarray.o maple.o test.o
7OFILES = main.o $(CORE_OFILES) regression1.o regression2.o \
8 regression3.o regression4.o tag_check.o multiorder.o idr-test.o \
9 iteration_check.o iteration_check_2.o benchmark.o
120b1162
LH
10
11targets: generated/map-shift.h generated/bit-length.h $(TARGETS)
1366c37e 12
74579d8d
LS
13include ../shared/shared.mk
14
1366c37e 15main: $(OFILES)
8ac04868 16
3fec86f8 17xarray.o: ../../../lib/test_xarray.c
8ab8ba38 18idr-test.o: ../../../lib/test_ida.c
8ac04868 19idr-test: idr-test.o $(CORE_OFILES)
8ac04868 20
74579d8d 21xarray: $(CORE_OFILES) xarray.o
ad3d6c72 22
74579d8d 23maple: $(CORE_OFILES) maple.o
e15e06a8 24
8ac04868 25multiorder: multiorder.o $(CORE_OFILES)
1366c37e
MW
26
27clean:
74579d8d 28 $(RM) $(TARGETS) *.o radix-tree.c idr.c generated/*
120b1162 29
74579d8d 30$(OFILES): $(SHARED_DEPS) *.h