diff options
author | MITSUNARI Shigeo <[email protected]> | 2021-09-28 09:15:26 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2021-09-28 09:15:26 +0900 |
commit | ef90b6bd2cabf1434732968447ddaca2fa3b89ab (patch) | |
tree | 7b407e7d5a0dced0894a8fded6378ffee1a098cd | |
parent | 0000938f5db5875ad9c95cc9b8ed2ea9fe522127 (diff) | |
download | xbyak-ef90b6bd2cabf1434732968447ddaca2fa3b89ab.tar.gz xbyak-ef90b6bd2cabf1434732968447ddaca2fa3b89ab.zip |
Makefile updates the version of meson.build
-rw-r--r-- | gen/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gen/Makefile b/gen/Makefile index 53cc3e9..c3cd0ea 100644 --- a/gen/Makefile +++ b/gen/Makefile @@ -1,7 +1,7 @@ TARGET=../xbyak/xbyak_mnemonic.h BIN=sortline gen_code gen_avx512 CFLAGS=-I../ -O2 -DXBYAK_NO_OP_NAMES -Wall -Wextra -Wno-missing-field-initializers -all: $(TARGET) ../CMakeLists.txt +all: $(TARGET) ../CMakeLists.txt ../meson.build sortline: sortline.cpp $(CXX) $(CFLAGS) $< -o $@ gen_code: gen_code.cpp ../xbyak/xbyak.h avx_type.hpp @@ -24,7 +24,10 @@ $(TARGET): $(BIN) VER=$(shell head -n 1 ../xbyak/xbyak_mnemonic.h|grep -o "[0-9.]*") ../CMakeLists.txt: $(TARGET) - sed -i -e 's/CXX VERSION [0-9.]*/CXX VERSION $(VER)/' ../CMakeLists.txt + sed -i -e 's/CXX VERSION [0-9.]*/CXX VERSION $(VER)/' $@ + +../meson.build: $(TARGET) + sed -i -e "s/version: '[0-9.]*',/version: '$(VER)',/" $@ clean: $(RM) $(BIN) $(TARGET) |