I want to learn how to build a S32K project with makefile,so i choose the example project from S32DS stidio.and I can finish the project by normal build way.
But when I change to makefile way,this project complied error.Here's how I did it 。
1:choose the "makefile project with existing code ",and I create a project name ,and find the example project exist.
2:Right click on the project,and enter the properties config sheet.
3:There are 3 config sheets below the C/C++ BUILD .I config the "Behavior"sheet.and I added "allsub"in the build line,and added "clean"in the clean line;like attachment 1
4: Then I build the project,and the makefile make a error"make: *** No rule to make target 'allsub'. Stop".like attachement 2
5:when I leave the build line blank，the makefile also make a error"make: *** No targets specified and no makefile found. Stop."like attachment 3.
How could I slove the probelm?
Our project will use IAR as the compiler for s32k312.
Can NXP provide a makefile sample project based on IAR toolchain for s32k312.
Looking forward to your reply, thank you very much
please refer to this article.