Re: Question regarding compiling generated file

Gary Oberbrunner <[email protected]> Thu, 27 Feb 2003 10:05:07 -0500
Newsgroups gmane.comp.gnu.cons.general
Message-ID <[email protected]>
Please send more info, this isn't enough to tell what the problem is. 
For instance, what is $target?  Why do you have the first Depends() 
line?  You shouldn't need it.  What does your Build line look like?  How 
exactly are you using $target.c as a source file?

Can you just send the whole Conscript/Construct?

-- Gary

Bill Deegan wrote:
> I have the following logic:
> 
> $env->Depends("$target.c",($source));
> $env->Command("$target.c",$source,qq(someprogram %<  %>));
> 
> This succesfully generates the $target.c file, and puts in in the
> build area, but when I specify that $target.c is a program source,
> cons looks in the source area and doesn't look in the objects area.
> 
> How can I get cons to look in the generated file area?



_______________________________________________
[email protected]
http://mail.gnu.org/mailman/listinfo/cons-discuss
Cons URL: http://www.dsmit.com/cons/