User forums > Embedded development

make: *** No rule to make target

(1/1)

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.

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

--- End quote ---
That's only correct, if you use the makefile with the default target.

Navigation

[0] Message Index

Go to full version