Makefile for My project

cancel
Showing results for 
Search instead for 
Did you mean: 

Makefile for My project

525 Views
Contributor V

Hi NXP,

I am using s32ds v1.2 power pc for my project which is based on mpc5748g. As per requirement , We need to build Project from command line instead of using s32ds.

May be with own make file ,How can I build and generate elf file for my project with own make file ?

Any suggestion can be highly appreciated.

1 Reply

28 Views
NXP Employee
NXP Employee

Hello,

You can of course create your own makefile and call the command line gcc/binutils yourself:

"c:\NXP\S32DS_Power_v2017.R1\Cross_Tools\powerpc-eabivle-4_9\bin\*"

In fact IDE project generates make files automatically. So you can adjust the generated makefile to match your need.

Other approach is to run eclipse in headless mode and benefit from eclipse IDE features such as makefile generator.

See more info e.g. here:

HOWTO: S32 Design Studio Command Line Interface 

Building Projects with Eclipse from the Command Line | MCU on Eclipse 

Hope it helps.

Stan