Makefile command substitution problem

前端 未结 2 1337
星月不相逢
星月不相逢 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:49

    You're missing the part where you need to use shell in order to actually call external programs when defining a variable.

    LAST_CONFIG:=$(shell cat config.tmp)
    

提交回复
热议问题