R – get ouput from shell script back into a makefile

bashmakefilescripting

I've tried something like this:

VAR := $(echo \`find . -name ".txt"`)

but when I echo $VAR from inside a target, I get nothing…

Best Solution

Try

VAR := $(shell find . -name "*.txt")