Makefileで実行時にシェルの実行結果を変数に代入する方法。eval
とshell
を使う。
build:
$(eval DATE := $(shell date))
echo $(DATE)
Go to list of users who liked
More than 5 years have passed since last update.
Makefileで実行時にシェルの実行結果を変数に代入する方法。eval
とshell
を使う。
build:
$(eval DATE := $(shell date))
echo $(DATE)
Register as a new user and use Qiita more conveniently
Go to list of users who liked