google-chrome-extensionmakefilecompiler-errorsgoogle-nativeclient

No rule to make target error when using Make to compile chrome app


I'm revisiting an old Chrome App project and have all the SDKs (Pepper 49) installed and Python etc.

My previous project folder is accepted by Chrome in Dev mode and runs.

However, I now need to add to the project and the build/make process is showing the error below:

enter image description here

The directory tree I used last has changed, which is why I've highlighted the full directory my project is in.

Is this as simple as Make.exe not supporting string gaps in the directory names? The error implies this could be the case.


Solution

  • That's a quoting problem. The spaces aren't quoted on the command line so they are being seen as significant by the shell and STAMPDIR is being set to only V:/Code while Repositories/BCS and Chrome/BCS are being seen as additional command line arguments to make and make assumes they are targets to build (and can't do so).

    You'll need to quote the argument in the makefile so that it gets put on the command line correctly.