[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: invoke target multiple times
From: |
Rinehart, Raleigh |
Subject: |
RE: invoke target multiple times |
Date: |
Thu, 12 Jun 2008 09:41:14 -0500 |
Yes this will work nicely! Well I feel silly now, I should have seen
that. I guess I was over-thinking the problem and trying to get too
fancy. Simple solutions are often the better solutions.
Thanks a bunch!
-raleigh
Paul Smith wrote:
On Wed, 2008-06-11 at 15:13 -0500, Rinehart, Raleigh wrote:
> This would be pretty simple in a shell script or batch file,
> unfortunately I need a pure make solution.
>
> Any ideas?
Can't you just do:
.PHONY: world
world:
$(MAKE) RELEASE=a CUNIT=b HW=c pdriver
$(MAKE) RELEASE=d CUNIT=e HW=f pdriver
$(MAKE) RELEASE=g CUNIT=h HW=i pdriver
$(MAKE) RELEASE=j CUNIT=k HW=l pdriver
?
That's good enough for a simple situation. If you wanted to use
parallelism and needed to get every last erg out of it you'll need to do
something fancier of course; in this environment each build of "pdriver"
will be built serially but the act of building a single pdriver will be
done in parallel (if you see what I mean).