News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

make: *** No rule to make target

Started by Pavel_47, September 05, 2014, 12:39:03 PM

Previous topic - Next topic

Pavel_47

Hello,

Attempt to build a project produce the following error (extract from Build log):

Running command: make.exe -f Makefile Release
using saved target 'cc2538dk'
make: *** No rule to make target 'Release'.  Stop.

What does this message mean ?
This happans in spite of I have set all parameters in project settings as those in another project (that is successfully built).

What should I check else ?

Thanks in advance

BR

Pavel

P.S. I could build the source file just employing make command in command prompt:
make TARGET=cc2538dk all

But working this way I can't use Code::Block facilities ... such as exploring project hierarchy

koonschi

The make command will use the target that you configured in your project settings as target for the makefile.
Usually the existing targets are Debug and Release if you create a new project. Make sure these target names match the targets in your makefile.
"As a general rule, the compiler is smarter than you, and working in your best interest. Do not question it." - Terry Mahaffey

#define TRUE FALSE // happy debugging suckers

Pavel_47

Resolved

In the Project build options --> "Make" Commands, the Build project/target command must be:

$make -f $makefile

i.e. without anything after $makefile

BR

Pavel

Jenna

Quote from: Pavel_47 on September 16, 2014, 05:37:47 PM
Resolved

In the Project build options --> "Make" Commands, the Build project/target command must be:

$make -f $makefile

i.e. without anything after $makefile

BR

Pavel
That's only correct, if you use the makefile with the default target.