On Wed, Apr 13, 2005 at 05:33:20PM -0000, Stefan Wimmer wrote: > > > --- In AVR-Chat@yahoogroups.com, "arhodes19044" <spamiam@c...> wrote: > > > > Here is the error report from make: > > > > ---------------------------------------- > > > "make.exe" all > > make.exe: *** No rule to make target `all'. Stop. > > > > > Process Exit Code: 2 > > --------------------------------------------------- > > > > Hmmm, I had exactly the same problem lately. If only I would remember > what I did to fix it.... The problem is that make can't find a combination of its SUFFIXES rules combined with the files it can find in its current directory to create the files listed on the all: target. The Makefile I posted explicitly wipes the SUFFIXES rules make inherits, then defines its own list of SUFFIXES and rules for converting from one suffix to another. This sort of thing is particularly important when using make for something slightly different than its usual native purpose. In this case for creation of cross-compiled code. By spelling out exactly the rules I want make to use I should have far less problems in the future maintaining the code if anything in my environment changes. The exact same Makefile produces the exact same code with GNU Make on both FreeBSD and WinXP, and with BSD make on FreeBSD. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.
Message
Re: [AVR-Chat] Re: Problem using MAKE - seems to be a path problem
2005-04-13 by David Kelly
Attachments
- No local attachments were found for this message.