Makefile 753 B

123456789101112131415161718192021222324252627282930
  1. # SPDX-License-Identifier: GPL-2.0
  2. .PHONY: clean
  3. TARGETS = main idr-test multiorder xarray maple
  4. CORE_OFILES = $(SHARED_OFILES) xarray.o maple.o test.o
  5. OFILES = main.o $(CORE_OFILES) regression1.o regression2.o \
  6. regression3.o regression4.o tag_check.o multiorder.o idr-test.o \
  7. iteration_check.o iteration_check_2.o benchmark.o
  8. targets: generated/map-shift.h generated/bit-length.h $(TARGETS)
  9. include ../shared/shared.mk
  10. main: $(OFILES)
  11. xarray.o: ../../../lib/test_xarray.c
  12. idr-test.o: ../../../lib/test_ida.c
  13. idr-test: idr-test.o $(CORE_OFILES)
  14. xarray: $(CORE_OFILES) xarray.o
  15. maple: $(CORE_OFILES) maple.o
  16. multiorder: multiorder.o $(CORE_OFILES)
  17. clean:
  18. $(RM) $(TARGETS) *.o radix-tree.c idr.c generated/*
  19. $(OFILES): $(SHARED_DEPS) *.h