link objects that are up the directory tree

earthwormgaz <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <697818b3-a16b-4dac-8993-00265901ab6a@d45g2000hsc.googlegroups.com>
I've got the following to pull in my source files, however, I want to
pull in .o files from another program (I'm writing Unit Tests for it).

# the object files that we need to compile
OBJS_$(d) :=  $(patsubst %.cpp,%.o,$(foreach obj, $(wildcard $(SRCDIR)$
(d)/*.cpp), $(notdir $(obj)))) \
	../path/someOther.o

I end up with errors like this though ...

/path/to/program/../path/someOther.d: cannot create

and other similar errors. Any ideas?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.