Linux Gurus,
I have a query regarding the execution of a complex command in the makefile of the current system.
I am currently using shell command in the makefile to execute the command. However my command fails as it is a combination of a many commands and execution collects a huge data... something like..
Makefile content
variable=$(shell ls -lart | grep name | cut -d/ -f2- )
However the make file execution fails with execvp failure..
Please suggest me any ways to overcome this issue. ... basically i would like to execute a complex command and assign that output to a makefile variable which i want to use in the program further...
I am novice to makefile programming... so pls forgive any mistages/ignorance....
Thanks Much !
__________________
We reject: kings, presidents and voting.
We believe in: rough consensus and running code