Answer the question
In order to leave comments, you need to log in
Why doesn't make work for another directory?
I have the following project structure:
projects/prj1/src
projects/prj2/src
When I compile the prj2 project and all the sources are here projects/prj2/src - everything works... But if I want to pick up the sources from projects/prj1/src, then an error occurs.
I am perverted in every way, various errors ...
For example, this:
No rule to build target "../prj1/src/file1.o" required for "prj2"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question