How do I tell Cons that a single command builds multiple targets?
Make the target of the Command be a reference to an array containing a list of the targets being built. This is most commonly done by enclosing the list in [square brackets]. In order, for a common example, to build target foo.class and bar.class files from a single invocation of the Java compiler on the input foo.java and bar.