1 CFLAGS
+= -I.
-I..
/..
/include -g
-O2
-Wall
-fsanitize
=address
2 LDFLAGS
+= -fsanitize
=address
-fsanitize
=undefined
4 OFILES
= main.o scatterlist.o
11 targets
: include $(TARGETS
)
16 $(RM
) $(TARGETS
) $(OFILES
) scatterlist.c linux
/scatterlist.h linux
/highmem.h linux
/kmemleak.h asm
/io.h
19 scatterlist.c
: ..
/..
/..
/lib
/scatterlist.c
20 @sed
-e
's/^static //' -e
's/__always_inline //' -e
's/inline //' < $< > $@
24 include: ..
/..
/..
/include/linux
/scatterlist.h
28 @touch linux
/highmem.h
29 @touch linux
/kmemleak.h
30 @cp
$< linux
/scatterlist.h