Hi, please consider the following example Makefile:
all: | some_order_only_prerequisite
echo $<
some_order_only_prerequisite:
touch $@
I would have expected that running make would always print
"some_order_only_prerequisite", but obviously, $< does not refer to the first
dependency if it is order-only.
Is this intended behavior, and if so, why?
Regards,
Chris
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make
