Possible duplicate:Generic GNU makefile path
After reading The recursive look is considered malicious. I decided to use the "include makefile" in my next project. I have a main Makefile that includes two subfiles that are in different versions. the problem is that the paths that are inside the masked file belong to its director, so when I include it from the main Makefile, it cannot find the files. is there any way to solve this problem without changing the paths?
make DAG, , "" . :
big_project |--Makefile | |--sub_project_1 | |--... | |--Makefile | |--sub_project_2 |--... |--Makefile
, make big_project , , , , Makefile sub_project_x, .
big_project
sub_project_x