1 2CFLAGS += -I. -I../../include -g -O2 -Wall -D_LGPL_SOURCE 3LDFLAGS += -lpthread -lurcu 4TARGETS = main 5OFILES = main.o radix-tree.o linux.o test.o tag_check.o find_next_bit.o \ 6 regression1.o regression2.o regression3.o multiorder.o \ 7 iteration_check.o 8 9targets: $(TARGETS) 10 11main: $(OFILES) 12 $(CC) $(CFLAGS) $(LDFLAGS) $(OFILES) -o main 13 14clean: 15 $(RM) -f $(TARGETS) *.o radix-tree.c 16 17$(OFILES): *.h */*.h ../../../include/linux/radix-tree.h ../../include/linux/*.h 18 19radix-tree.c: ../../../lib/radix-tree.c 20 sed -e 's/^static //' -e 's/__always_inline //' -e 's/inline //' < $< > $@ 21