[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Command creates two targets
From: |
Bhatt, Milan C |
Subject: |
Command creates two targets |
Date: |
Wed, 19 Jun 2002 13:20:31 -0700 |
Hello,
In gmake v3.79.1 on HPUX 11.0, is there anyway to tell gmake that a certain
command creates more than one target? The following simplified Makefile
illustrates the problem
-----------------------------------------------
ALL_TARGETS := a.rpt b.rpt c.rpt
.PHONY : all_targets
all_targets : $(ALL_TARGETS)
$(ALL_TARGETS) :
@ run_tool
-----------------------------------------------
The "run_tool" command actually creates all the reports (a.rpt, b.rpt, and
c.rpt). For serial runs (no -j option), this works fine. But, for parallel
runs (-j2), gmake will launch 2 "run_tool" commands even though only 1 is
really needed.
Thanks,
Milan
- Command creates two targets,
Bhatt, Milan C <=