[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: about $< variable
From: |
Paul D. Smith |
Subject: |
Re: about $< variable |
Date: |
Mon, 26 May 2003 13:12:14 -0400 |
%% rishi nair <address@hidden> writes:
rn> $(BUILD_DIR)/%.o:$(SRC_DIR)/$(patsubst %.obj,%.cxx,$(@F))
You cannot use functions like patsubst on patterns. All variables and
functions are replaced first, before the patterns (%) are replaced.
--
-------------------------------------------------------------------------------
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