Mail Archives: djgpp/2002/03/25/14:30:21
Hans-Bernhard Broeker wrote:
> deckerben <deckerben AT freenet DOT de> wrote:
>
> > I have source code that include the line "include depend" in
> > the makefile, but the file "depend" does not exist, nor do any
> > obvious candidates for renaming. Is there a utility that
> > creates this file?
>
> Probably --- but not for DJGPP, as it is.
>
> It would probably help if you could give some more details.
> Like the name of the package, and what compiler it's supposed to
> be used with, originally.
>
> > Is the application source code / makefile possibly broken?
>
> Not necessarily. But probably it's not meant for DJGPP.
> Makefiles, if not very carefully written, are about the most
> unportable thing you can find in a typical Unix source code.
>
> Some people have installed GNU make on their Unix boxes, even
> they they don't have any other GNU software, simply for that
> reason: using GNU make on all platforms is about the only way
> to gain compatible access to a reasonable set of features
> across many different platforms.
Doesn't gcc have an option to generate dependancies, something
like -M? and a similar environment variable?
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
(Remove "XXXX" from reply address. yahoo works unmodified)
mailto:uce AT ftc DOT gov (for spambots to harvest)
- Raw text -