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.

CCS/LAUNCHXL-F28379D: generate makefile

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

I want to compile using gmake without using CCS.
I use makefile generated by ccs.
To compile after adding a new file, I have to modify the makefile. In CCS, the makefile is automatically updated. (**** Build of configuration seems to be executed in the compile log.)
Is there a way to do "**** Build of configuration" without using CCS?

(Is there a way to update newly added file information in makefile using command prompt?)

  • If you are looking for a way to build CCS projects via command line rather using the GUI, then a better alternative is to use terminal commands described in this page: https://software-dl.ti.com/ccs/esd/documents/ccs_projects-command-line.html

    This will still use the auto-generated makefiles and produce similar build output as the GUI.

  • Thanks for your fast reply.

    I am trying to compile on a PC where CCS is not installed.
    So I am using gmake.exe to create a command prompt batch file. In order to do that, I have to write a makefile, but when a file is added, I am looking for a way to automatically add the added file to the makefile.

    In CCS, build of configuration is performed before gmake, and the added file is added to the makefile.

    If there is a way to create this as a command prompt batch file, please advise.

    Best regards,

    Zero Tiger

  • I tested it with your advice.

    (eclipsec -noSplash -data "D:\TI_CCS10_WS" -application com.ti.ccstudio.apps.projectBuild -ccs.projects blinky_cpu01)

    It updated the makefile for the added files and the build succeeded.
    I got the result I wanted.
    Thank you for your help.

    C:\ti\ccs1000\ccs\eclipse>eclipsec -noSplash -data "D:\TI_CCS10_WS" -application com.ti.ccstudio.apps.projectBuild -ccs.projects blinky_cpu01 -ccs.configuration