From 2861517f2598adbefb54bc6d1b5d500a17945b65 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 8 Mar 2022 10:27:11 +0900 Subject: add memfd sample --- sample/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sample/Makefile') diff --git a/sample/Makefile b/sample/Makefile index 5d8f8da..7c910bb 100644 --- a/sample/Makefile +++ b/sample/Makefile @@ -37,6 +37,7 @@ endif ifneq ($(OS),mac) TARGET += static_buf64 +TARGET += memfd endif @@ -95,6 +96,8 @@ jmp_table: $(CXX) $(CFLAGS) jmp_table.cpp -o $@ -m32 jmp_table64: $(CXX) $(CFLAGS) jmp_table.cpp -o $@ -m64 +memfd: + $(CXX) $(CFLAGS) memfd.cpp -o $@ -m64 profiler: profiler.cpp ../xbyak/xbyak_util.h $(CXX) $(CFLAGS) profiler.cpp -o $@ profiler-vtune: profiler.cpp ../xbyak/xbyak_util.h @@ -121,3 +124,4 @@ test_util : test_util.cpp $(XBYAK_INC) ../xbyak/xbyak_util.h test_util2 : test_util.cpp $(XBYAK_INC) ../xbyak/xbyak_util.h jmp_table: jmp_table.cpp $(XBYAK_INC) jmp_table64: jmp_table.cpp $(XBYAK_INC) +memfd: memfd.cpp $(XBYAK_INC) -- cgit v1.2.3