EC1185

1 minute readReference

Synopsis

#pragma multi on static pattern rules is not supported.

Description

A static pattern rule is like a cookie cutter for building several specific targets individually, each time using the same pattern to compose the rule. It makes little sense to say that the static pattern should treat the targets as built simultaneously because a single invocation of the commands would only build just one of the specified targets.

Reasons

You attempted to apply #pragma multi to a static pattern rule.

Fixes

If what you mean is that the commands really do build all of the targets together, then restructure the rule as an ordinary #pragma multi rule, not a static pattern. Otherwise, drop #pragma multi.