I want the results from an ls to be saved in a var inside a makefile the command is simply the following:
and the result suppose to be something like : text1.txt What i put in my script is:
text = some commands to fetch the "text" . com = `ls $(text)*`
What is actually saved at $com is the results of the entire ls without the $(text)* parameter.