Hi, everybody:
I wanted to implement some sort of variable override, but...
I have some definitions:
HOST_TYPE=LINUX
ARCH=arch_common
ARCH_LINUX=arch_linux
and a conditonal assignment:
ARCH_LINUX ?= $(ARCH)
test:
@echo $(ARCH_$(HOST_TYPE))
as soon as I remove ARCH_LINUX definiton it doesn't work. Seems that
make does not like variables on the right side of the conditional
assignment. Any ideas how to do it without conditionals?
Kilu
--
============================
AutoForm Engineering GmbH
Technoparkstrasse 1
CH-8005 Z�rich / Switzerland
Tel: +41 1 445 2121
Fax: +41 1 445 2122
www.autoform.ch
============================
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make