Makefile: dummy commit

The point is to give Colin S. Miller the credit for
a hack to get the current goal's word-in-a-list position:
http://lists.gnu.org/archive/html/help-gnu-utils/2010-05/msg00004.html
This commit is contained in:
Michael Shigorin 2012-01-11 10:41:24 +02:00
parent 37f050d227
commit df0861ad02

View File

@ -20,6 +20,7 @@ clean distclean help:
export NUM_TARGETS := $(words $(MAKECMDGOALS)) export NUM_TARGETS := $(words $(MAKECMDGOALS))
# real targets need real work
%: %:
@n=1; \ @n=1; \
if [ "$(NUM_TARGETS)" -gt 1 ]; then \ if [ "$(NUM_TARGETS)" -gt 1 ]; then \