1 2CFLAGS += -I. -g -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 8targets: $(TARGETS) 9 10main: $(OFILES) 11 $(CC) $(CFLAGS) $(LDFLAGS) $(OFILES) -o main 12 13clean: 14 $(RM) -f $(TARGETS) *.o radix-tree.c 15 16$(OFILES): *.h */*.h ../../../include/linux/radix-tree.h ../../include/linux/*.h 17 18radix-tree.c: ../../../lib/radix-tree.c 19 sed -e 's/^static //' -e 's/__always_inline //' -e 's/inline //' < $< > $@ 20