Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
JacksCracked
· 9y ago · 0 comments
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.
Comments
[–]
ComputerGuru
9y ago
Just use the export command to set variables across lines.