I think this is a question that has been asked many times, but I cannot find the right way to do this.
I have the following structure:
project/ project/Makefile project/code project/code/*.cc project/code/Makefile
When I am in the 'project / code' directory and call make project_code, my code compiles correctly.
I would like to do this when I am in project /, simply calling "make project_code", as if I were in "project / code".
The makefile / Makefile 'file will contain other rules (for example,' install ') and some rules for compilation, as if I were in a project / code. And for this I ask your help ... Thank you.
makefile
Cedric H. Aug 16 '10 at 16:05 2010-08-16 16:05
source share