This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

No rule to make target `flash'

Hi all,

I have a makefile which runs perfectly from the command line on Windows under GCC, but in Eclipse it fails with this message in the Console:

make flash make: *** No rule to make target `flash'. Stop.

On the command line it works perfectly.

Any ideas please?

Parents
    • Is Eclipse set up to use the same Makefile?
    • What parameters are you using when running make from the console, make flash, only make or something else?
    • Does the Makefile have a rule for the target "flash"? If there is no "flash" target in the Makefile but Eclipse is set up to build that target it will fail. To see if the Makefile has a rule for a "flash" target, look for a line starting with flash: in the Makefile.

    Have you seen the Development with GCC and Eclipse tutorial?

Reply
    • Is Eclipse set up to use the same Makefile?
    • What parameters are you using when running make from the console, make flash, only make or something else?
    • Does the Makefile have a rule for the target "flash"? If there is no "flash" target in the Makefile but Eclipse is set up to build that target it will fail. To see if the Makefile has a rule for a "flash" target, look for a line starting with flash: in the Makefile.

    Have you seen the Development with GCC and Eclipse tutorial?

Children
No Data
Related