1# SPDX-License-Identifier: GPL-2.0 2 3.PHONY: clean 4 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 10 11targets: generated/map-shift.h generated/bit-length.h $(TARGETS) 12 13include ../shared/shared.mk 14 15main: $(OFILES) 16 17xarray.o: ../../../lib/test_xarray.c 18idr-test.o: ../../../lib/test_ida.c 19idr-test: idr-test.o $(CORE_OFILES) 20 21xarray: $(CORE_OFILES) xarray.o 22 23maple: $(CORE_OFILES) maple.o 24 25multiorder: multiorder.o $(CORE_OFILES) 26 27clean: 28 $(RM) $(TARGETS) *.o radix-tree.c idr.c generated/* 29 30$(OFILES): $(SHARED_DEPS) *.h 31