Doubt on variable $

2009-12-01 Thread visco
Could anyone tell me what is the purpose of $< I found it in a Makefile as follows $(CXX) $(CXXFLAGS) -c $< -o $@ Also it would be nice if anyone could give a link explaining spl. variables used in bash Thanks and regards visco

Re: Doubt on variable $

2009-12-01 Thread pk
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 any