2023-08-30 07:44 AM
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
2023-08-31 10:42 AM
Maybe makefile have mistakes or you need to specify the target. Try "release" or "debug".