Re:Afraid of Makefiles? Don't be
by JacksCracked on Friday August 18, 2017 @07:20AM
(#15045189)
Each logical line of a makefile is executed in its own shell. This means that variables cannot be set across lines and directory changes cannot be changed across lines.
[ Parent
| on HN ]
Re:Afraid of Makefiles? Don't be
by ComputerGuru on Friday August 18, 2017 @08:11AM
(#15045411)
Just use the export command to set variables across lines.