cancel
Showing results for 
Search instead for 
Did you mean: 

How to avoid absolute path during automakefile generation?

AKali
Associate II

Hi, I want to avoid my absolute path of PC during automakefile generation. Actually absolute path available on subdir.mk during build. How does control mk generation to generate subdir.mk with relative path to central makefile?
Thanks in advance, Anton.

1 REPLY 1
Pavel A.
Evangelist III

Is this question about the "managed" Eclipse CDT builder makefiles? With the internal builder these makefiles are not  generated at all and do not distract you. Eclipse has built-in variables for the project directory (location of .project) and the workspace directory, you can use these in definition of include paths etc.  More custom variables can be defined in the project settings, "build variables". So your project can be completely free of absolute paths.