aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/Makefile
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2022-03-08 10:27:11 +0900
committerMITSUNARI Shigeo <[email protected]>2022-03-08 10:27:11 +0900
commit2861517f2598adbefb54bc6d1b5d500a17945b65 (patch)
tree6312ef6c9db36b987014e9ece539451a8f3623b6 /sample/Makefile
parent507b0285ee4c5ea9fdc36ff98aef65308f6ce4d6 (diff)
downloadxbyak-2861517f2598adbefb54bc6d1b5d500a17945b65.tar.gz
xbyak-2861517f2598adbefb54bc6d1b5d500a17945b65.zip
add memfd sample
Diffstat (limited to 'sample/Makefile')
-rw-r--r--sample/Makefile4
1 files changed, 4 insertions, 0 deletions
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)