I'm fighting with eclipse and autotools project. I'What I'm trying to find is a way to add includes dirs and new source files to project.
So far I modified in /src/makefile
of my project:
DEFAULT_INCLUDES
to add all includes directoriesMy_Project_CFLAGS
to add used libsThe problem is that each time I have to reconfigure the project (by project popup menu) The maakefile is restored at original, loosing all my changes.
Is in Eclipse IDE a way in project properties where I can add my changes that grants all my modifications are applied to the project after a reconfigure project command?
Or Am I wrong modifing manually makefile and the right way to do this stuff is....?
If you are really using autotools, you should edit Makefile.am instead of Makefile.