radix tree test suite: rebuild when headers change
[deliverable/linux.git] / tools / testing / radix-tree / Makefile
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 \
6 regression1.o regression2.o regression3.o
7
8 targets: $(TARGETS)
9
10 main: $(OFILES)
11 $(CC) $(CFLAGS) $(LDFLAGS) $(OFILES) -o main
12
13 clean:
14 $(RM) -f $(TARGETS) *.o radix-tree.c
15
16 $(OFILES): *.h */*.h ../../../include/linux/radix-tree.h ../../include/linux/*.h
17
18 radix-tree.c: ../../../lib/radix-tree.c
19 sed -e 's/^static //' -e 's/__always_inline //' -e 's/inline //' < $< > $@
This page took 0.041125 seconds and 5 git commands to generate.