cancel
Showing results for 
Search instead for 
Did you mean: 

STVD gmake command control compile

SteZel123
Associate

Hi, I am working to compile a pogam from the command line. 
The used compiler is the Cosmic compiler for the STM8 microcontroler

The STVD Datasheet says that Export makefile ... | Generates a makefile script that can be launched with the gmake utility, seperatly from STVD full IDE. 

I have generated a makefile .mak in the ST Visual Developer. 

I have tried to compile the program in the command line with gmake but it doesn't work. 
Are there any documentations how the makefile have to be executed? Where can I find them?
I have used the command : gmake --makefile=<File location> -d 

The reported message is: No rule to make target  --------------------------- Stop. --> the file is included in the Directory.
or 
No need to remake target  XXXX.mak
Nothing to be done for XXXX.mak 

 

1 REPLY 1
AA1
Senior III

Maybe makefile have mistakes or you need to specify the target. Try "release" or "debug".