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