1CFLAGS += -D_FILE_OFFSET_BITS=64 2CFLAGS += -I../../../../include/uapi/ 3CFLAGS += -I../../../../include/ 4 5all: 6 gcc $(CFLAGS) memfd_test.c -o memfd_test 7 8run_tests: all 9 gcc $(CFLAGS) memfd_test.c -o memfd_test 10 @./memfd_test || echo "memfd_test: [FAIL]" 11 12build_fuse: 13 gcc $(CFLAGS) fuse_mnt.c `pkg-config fuse --cflags --libs` -o fuse_mnt 14 gcc $(CFLAGS) fuse_test.c -o fuse_test 15 16run_fuse: build_fuse 17 @./run_fuse_test.sh || echo "fuse_test: [FAIL]" 18 19clean: 20 $(RM) memfd_test fuse_test 21