Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 Discussions

How to define the source file list?

Altera_Forum
Honored Contributor II
1,397 Views

I want to define the source file lists including the source files that I am going to complie. But it seems that I cannot modifiy the makefile, which is generated automatically. 

 

So, how to modify those automatic makefile?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
489 Views

neo, 

 

the NIOSII IDE expects all source files in its current project directory. Right click the project name and select 'Refresh' to include all source files into the project currently found in this directory. The triangle icon lets you then 'Edit Active Working Set' to include or exclude the files you want. After that, your makefile will be updated. 

 

Mike
0 Kudos
Altera_Forum
Honored Contributor II
489 Views

The problem is that the source file (.c) file need to be complied based on the macros. Can I do that? 

 

And I also have a .c file need to be included not complied.
0 Kudos
Reply