%% Sankaranarayanan K V <[EMAIL PROTECTED]> writes:

  skv> I think I could write a wrapper so that all generated files from
  skv> 'a.spec' are put in a unique directory, say a.spec.dir. The wrapper will
  skv> be able to figure out what all got generated and change the CC_FILES
  skv> variable.

  skv> Which of the following would be better?

  skv> (1) CC_FILES = a.spec.dir/Foo.cc a.spec.dir/Bar.cc

  skv> or

  skv> (2) CC_FILES = Foo.cc Bar.cc
  skv>     # the wrapper script moves the files from a.spec.dir to ..

I really don't like moving files around; it seems to create more
problems than it solves.  In this case, though, maybe that's not true.
Anyway, it's up to you; either one would work.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

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

Reply via email to