Makefile command substitution problem

前端 未结 2 1335
星月不相逢
星月不相逢 2020-12-31 08:13

rebar doesn\'t automatically rebuild files when given a different configuration file. So, I\'ve tried to do it on the Makefile level:

REBAR=./rebar
REBAR_DEB         


        
2条回答
  •  再見小時候
    2020-12-31 08:45

    You can also use the shell assignment operator

    LAST_CONFIG != cat config.tmp
    

    § How make Reads a Makefile

    Example

提交回复
热议问题