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 17idr-test.o: ../../../lib/test_ida.c 18idr-test: idr-test.o $(CORE_OFILES) 19 20xarray: $(CORE_OFILES) xarray.o 21 22maple: $(CORE_OFILES) maple.o 23 24multiorder: multiorder.o $(CORE_OFILES) 25 26clean: 27 $(RM) $(TARGETS) *.o radix-tree.c idr.c generated/* 28 29$(OFILES): $(SHARED_DEPS) *.h 30