Makefile for My project

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Makefile for My project

1,744件の閲覧回数
yalamandadosaky
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 返信

1,247件の閲覧回数
stanish
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