I have the following structure:
mydir/inc - has one.h two.h
mydir/src - has myfile.cpp
mydir/output - that's where makefile is
myfile.cpp begins with
The problem with the makefile I wrote is that g++ tells: one.h no such file or directory
when I change myfile.cpp
"#include "../inc/one.h" the problem dissapears.
How do I solve the problem without changing myfile.cpp?