diff options
author | MITSUNARI Shigeo <[email protected]> | 2012-03-23 21:41:55 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2012-03-23 21:41:55 +0900 |
commit | d59a53649436313e828dec06e1940beaf2970446 (patch) | |
tree | a9edaed9eab6b799896ec32ed1c7a2938159b892 /sample/Makefile | |
parent | 445de37fdf79c68d60e4c0f7816f0708261d7ffc (diff) | |
download | xbyak-d59a53649436313e828dec06e1940beaf2970446.tar.gz xbyak-d59a53649436313e828dec06e1940beaf2970446.zip |
sample to use static memory
Diffstat (limited to 'sample/Makefile')
-rw-r--r-- | sample/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sample/Makefile b/sample/Makefile index b04bc88..e5208d9 100644 --- a/sample/Makefile +++ b/sample/Makefile @@ -1,4 +1,4 @@ -TARGET = test quantize bf toyvm test_util memfunc +TARGET = test quantize bf toyvm test_util memfunc static_buf XBYAK_INC=../xbyak/xbyak.h BOOST_EXIST=$(shell echo "\#include <boost/spirit/core.hpp>" | (gcc -E - 2>/dev/null) | grep "boost/spirit/core.hpp" >/dev/null && echo "1") @@ -12,7 +12,7 @@ BIT=64 endif ifeq ($(BIT),64) -TARGET += test64 bf64 memfunc64 test_util64 +TARGET += test64 bf64 memfunc64 test_util64 static_buf64 ifeq ($(BOOST_EXIST),1) #TARGET += calc64 calc2_64 endif @@ -62,6 +62,10 @@ test_util: $(CXX) $(CFLAGS) test_util.cpp -o $@ -m32 test_util64: $(CXX) $(CFLAGS) test_util.cpp -o $@ -m64 +static_buf: + $(CXX) $(CFLAGS) static_buf.cpp -o $@ -m32 +static_buf64: + $(CXX) $(CFLAGS) static_buf.cpp -o $@ -m64 clean: rm -rf *.o $(TARGET) |