1 CC
= $(CROSS_COMPILE
)gcc
2 CFLAGS
+= -D_FILE_OFFSET_BITS
=64
3 CFLAGS
+= -I..
/..
/..
/..
/include/uapi
/
4 CFLAGS
+= -I..
/..
/..
/..
/include/
5 CFLAGS
+= -I..
/..
/..
/..
/usr
/include/
7 TEST_PROGS
:= memfd_test
13 build_fuse
: fuse_mnt fuse_test
15 fuse_mnt.o
: CFLAGS
+= $(shell pkg-config fuse
--cflags)
16 fuse_mnt
: LDFLAGS
+= $(shell pkg-config fuse
--libs
)
19 @.
/run_fuse_test.sh || echo
"fuse_test: [FAIL]"
22 $(RM
) memfd_test fuse_test