[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Perquisite search in sub-tree of undefined length.
From: |
Paul D. Smith |
Subject: |
Re: Perquisite search in sub-tree of undefined length. |
Date: |
Sat, 22 Jan 2005 11:10:30 -0500 |
%% Daniel Aleksandrow <address@hidden> writes:
da> A=`find mission/ -name "*.mission" | xargs echo`
Backticks (``) are a shell construct. This is a makefile.
If you want to run a shell command, you'll have to use the GNU make
$(shell ...) function.
Also, I recommend using simply-expanded variables(:= not =) with $(shell
...) functions, so that they're only invoked once no matter how many
times the variable is used.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist