30 lines · plain
1# SPDX-License-Identifier: GPL-2.02 3.PHONY: clean4 5TARGETS = main idr-test multiorder xarray maple6CORE_OFILES = $(SHARED_OFILES) xarray.o maple.o test.o7OFILES = 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.o10 11targets: generated/map-shift.h generated/bit-length.h $(TARGETS)12 13include ../shared/shared.mk14 15main: $(OFILES)16 17idr-test.o: ../../../lib/test_ida.c18idr-test: idr-test.o $(CORE_OFILES)19 20xarray: $(CORE_OFILES) xarray.o21 22maple: $(CORE_OFILES) maple.o23 24multiorder: multiorder.o $(CORE_OFILES)25 26clean:27 $(RM) $(TARGETS) *.o radix-tree.c idr.c generated/*28 29$(OFILES): $(SHARED_DEPS) *.h30