Fix parallel compilation for htools
authorIustin Pop <iustin@google.com>
Mon, 21 Mar 2011 14:21:20 +0000 (15:21 +0100)
committerIustin Pop <iustin@google.com>
Tue, 22 Mar 2011 16:47:41 +0000 (17:47 +0100)
commitd5506465b53089cc3c3d126fc42fc26c971271b7
treeea9dc8566bd37adce42a2d20a1a1bce8e0e25610
parent50ed57c1b80f541c64371a89d19fdde8fe33310b
Fix parallel compilation for htools

We do it via per-target-binary .o/.hi files. There are a few other
options, in the end this was chosen as different binaries can have
different options/components (e.g. hail won't use RAPI, etc.) and that
the unittests need different compilation options.

We add a wildcard *.o/*.hi to CLEANFILES, so that it removes all
per-target build artifacts.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Makefile.am