Follow-up Comment #4, bug #8297 (project make):

I can answer this question wrt Solaris make and Sun Studio dmake.

foo + bar baz boz + biz:

What does this mean? 

It means there are 2 groups:
1. foo + bar
2. boz + biz

Here is an example. 
-------------------
volga2% cat Makefile
T = foo bar baz boz biz
all: ${T}
# Two groups
foo + bar baz boz + biz:
        @echo $@
        touch ${T}

If I run GNU make, it treats "+" as a target, 
and repeats the same command 5 times:
-------------------------------------
volga2% rm -f foo bar baz boz biz
volga2% gmake -j 8
Makefile:7: target `+' given more than once in the same rule.
foo
touch foo bar baz boz biz
bar
baz
boz
biz
touch foo bar baz boz biz
touch foo bar baz boz biz
touch foo bar baz boz biz
touch foo bar baz boz biz

If I run Sun Studio dmake, it treats "+" as a group sign, 
and repeats the same command 3 times:
-------------------------------------
volga2% rm -f foo bar baz boz biz
volga2% dmake -j 8
echo baz
baz
touch foo bar baz boz biz
echo boz
boz
touch foo bar baz boz biz
echo foo
foo
touch foo bar baz boz biz



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8297>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



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

Reply via email to