Skip to main content
Visitor II
August 30, 2023
Question

STVD gmake command control compile

  • August 30, 2023
  • 1 reply
  • 1112 views

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 

 

    This topic has been closed for replies.

    1 reply

    Visitor II
    August 31, 2023

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