help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to handle a target and prerequisite that have the same extension?


From: Mark Txx
Subject: How to handle a target and prerequisite that have the same extension?
Date: Fri, 14 Apr 2006 08:21:21 -0700 (PDT)

Using GNU Make 3.80
 
 I'm looking for ideas how to handle this situation:
  Our CM source tree is .c and .cpp and .h etc which will be read-only when we run our coverage tool.
  The output of the coverage tool (let's call it the frobnicater) is an "instrumented" version of the input source file which we then build with and run our test cases.
   Currently I'm thinking of doing a one-time duplication of the CM source tree and makefiles. Then have the .cpp and .c files in this tree dependent on the CM source tree so that a change in the CM tree would trigger the coverage tree source file to be frobnicated from the CM tree.
Is this doable? How?
 
Any other ideas?
 
 


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]