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

$(HOSTNAME) not set in a makefile?




In a makefile, if I have a rule to:
	echo $(HOSTNAME);

it return a blank line, as if the variable is not set. Echoing $(HOME) works, $(LANG) works, what is the deal with $(HOSTNAME)?

Echoing $(HOSTNAME) on a command prompt works though.

->HS



Reply to: