The issue is that make will execute the action once for each target.

Paul had posted a solution to this issue, but, IMHO, using marker files for such a 
thing is a bit of a hack.

Noel

Noel

Martin d'Anjou wrote:
> 
> Noel,
> 
> >Also, I do think it would be a good feature for GNU make to be able to
> >handle
> >commands that create more than one output file from one input file.  Does
> >anyone know if this has been requested in Savannah?
> >
> 
> I had the same problem, and I usually end up creating a rule and commands
> that look like this:
> 
> $(TARGET_DIR)/%.a $(TARGET_DIR)/%.b $(TARGET_DIR)/%.c: %.src
>         my_script $<
>         mv $*.a $(TARGET_DIR)
>         mv $*.b $(TARGET_DIR)
>         mv $*.c $(TARGET_DIR)
> 
> Is that the end result you are looking for? I do not see how this burden
> could be on make itself...
> 
> Martin
> 
> _______________________________________________
> Help-make mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/help-make

-- 
NOTICE: If received in error, please destroy and notify sender.  Sender does not waive 
confidentiality or privilege, and use is prohibited.


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to