Hello,

I have a problem with make 3.80 when trying to define rules inside
conditionals.

It seems that the rule inside the conditional is not visible at
global level.


[EMAIL PROTECTED] /usr/local/gnu/bin/make PASS=depend depend-global depend-cond
make[1]: Entering directory `/disk/taifun/se0c/stud/s90/anduril/Tmp/Make'
Doing depend-global - PASS=depend.
make[1]: *** No rule to make target `depend-cond'. Stop.
make[1]: Leaving directory `/disk/taifun/se0c/stud/s90/anduril/Tmp/Make'
make: *** [ruletest] Error 2


ruletest :
        $(MAKE) PASS=depend depend-global depend-cond


depend-global:
        @echo Doing depend-global - PASS=$(PASS).



ifeq (PASS,depend)

depend-cond:
        @echo Doing depend-cond - PASS=$(PASS).

endif

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to