Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1366c37e | 2 | |
74579d8d | 3 | .PHONY: clean |
1366c37e | 4 | |
74579d8d LS |
5 | TARGETS = main idr-test multiorder xarray maple |
6 | CORE_OFILES = $(SHARED_OFILES) xarray.o maple.o test.o | |
7 | OFILES = 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 | |
11 | targets: generated/map-shift.h generated/bit-length.h $(TARGETS) | |
1366c37e | 12 | |
74579d8d LS |
13 | include ../shared/shared.mk |
14 | ||
1366c37e | 15 | main: $(OFILES) |
8ac04868 | 16 | |
3fec86f8 | 17 | xarray.o: ../../../lib/test_xarray.c |
8ab8ba38 | 18 | idr-test.o: ../../../lib/test_ida.c |
8ac04868 | 19 | idr-test: idr-test.o $(CORE_OFILES) |
8ac04868 | 20 | |
74579d8d | 21 | xarray: $(CORE_OFILES) xarray.o |
ad3d6c72 | 22 | |
74579d8d | 23 | maple: $(CORE_OFILES) maple.o |
e15e06a8 | 24 | |
8ac04868 | 25 | multiorder: multiorder.o $(CORE_OFILES) |
1366c37e MW |
26 | |
27 | clean: | |
74579d8d | 28 | $(RM) $(TARGETS) *.o radix-tree.c idr.c generated/* |
120b1162 | 29 | |
74579d8d | 30 | $(OFILES): $(SHARED_DEPS) *.h |