2024-05-13 07:51 AM
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.
2024-05-13 03:22 PM
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.