bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Doubt on variable $<


From: pk
Subject: Re: Doubt on variable $<
Date: Tue, 01 Dec 2009 13:27:47 +0000

visco wrote:

> Could anyone tell me what is the purpose of $<
> 
> I found it in a Makefile as follows
>      $(CXX) $(CXXFLAGS) -c $< -o $@

That's not a bash variable. It's a Makefile variable.

http://www.gnu.org/software/make/manual/make.html#Automatic-Variables

> Also it would be nice if anyone could give a link explaining spl.
> variables used in bash

There's a "Special Parameters" section in the bash man page.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]