Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

How to define the source file list?

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?

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.