help-make
[Top][All Lists]
Advanced

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

Re: Help copying & renaming filename inside makefile.


From: Paul Smith
Subject: Re: Help copying & renaming filename inside makefile.
Date: Tue, 11 Jan 2011 13:21:29 -0500

On Tue, 2011-01-11 at 08:06 -0800, givemecode wrote:
> Paul Smith-20 wrote:
> > 
> > On Tue, 2011-01-11 at 06:51 -0800, givemecode wrote:
> >> I was hoping to use whatever headers are in the include directory
> >> instead of trying to remember to modify this makefile. When I try to
> >> compile, the C source files which include the .hh files can't find the
> >> header (.hh). Is there a way to do this? thanks please help.
> > 
> > I replied to this yesterday.
> 
> I know you did, but it didn't work and I though more explanation would maybe
> change the solution.

No, I mean I replied to _THIS_, the "more explanation" that you wrote
above.

Actually your original question was simple to answer, but your extra
explanation made clear that what you asked didn't have much to do with
the real problem you have :-).

What you've written here, as I said in my reply yesterday, doesn't make
much sense as-is.  As I said then, no amount of variable manipulation in
your makefile will help your _compiler_ find header files that don't
exist.  If your compiler is including files named "foo.hh" and those
files don't exist, then just adding those names to a variable in a
makefile won't fix that problem.

We need you go back up a number of steps and describe your environment
and what you really want to do at a higher level.





reply via email to

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