This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to generate makefile from CCSv5 using command prompt

Hi,

        I want to build my project using the command prompt, with gmake, but I'm not able to generate the makefile via command prompt.

        When I build using CCSv5 the makefile is automatically regenerated each time and I would like to know how to generate this same makefile externally (using command prompt).

 

Thank you.

  • Hello,

    You can use the command-line project build command to build a CCS project from the command-line (thus generating the makefile)

    http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create

    Note that the examples are for CCSv4. See the section on the end on how to use it with v5.

    Thanks

    ki

  • Hi Ki,

              This is what I'm doing right now but I was wandering if I could just generate the makefile, without building the project, and than use the gmake. If I absolutely have to build the project to get the makefile than there is no point for me to use the gmake since it would already been built.

               I'd like to use the makefile with the gmake since it is easier to know what's happening (the makefile is readable) and it is a more generic approach.

     

    Thanks.

     

  • David Henri said:
    I was wandering if I could just generate the makefile, without building the project

    No, it will always build the project after generating the makefile. There is no option to *just* generate the makefiles

    David Henri said:
    If I absolutely have to build the project to get the makefile than there is no point for me to use the gmake since it would already been built.

    David Henri said:
    I'd like to use the makefile with the gmake

    gmake is what CCS also uses to build the project. When you build your project with CCS, you are calling gamke on the generated makefiles.