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.

LP-AM243: Makefile

Part Number: LP-AM243


Hello, 

How can I stop the makefile from being automatically generated so I can edit it?

  • Hello Borham,

    Thanks for reaching out to Texas Instruments E2E support forum. 

    How can I stop the makefile from being automatically generated so I can edit it?

    Can you please confirm are you using SDK makefile for building project? or are you using CCS for building project?

    Regards,

    Tushar

  • Hello Tushar, 

    Yes, I do use CCS and the SDK, but I need to add a macro definition to the Makefile. How can I do this? If I add it to the generated Makefile and then rebuild the project, the default generated Makefile is restored. So, how can I add something to it?

  • Hello Borham,

    Thanks for your reply.

    You can open the project properties and update the macros and other definition for makefiles there also.

    You can also edit the compiler and linker options. Please refer below screenshot.

    To stop the auto-generation of makefiles for a project please follow below steps.

    • Right click on the project and select show build settings option.
    • Uncheck the Generate Makefile automatically option. Please see the below screenshot.

    • Click on Apply and Close button.

    After performing the above steps, CCS will not generate the makefiles automatically for the project.

    Hope the above information helps.

    Regards,

    Tushar

  • Thank you Tushar