List Info

Thread: link objects that are up the directory tree




link objects that are up the directory tree
user name
2008-05-01 09:53:52
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?

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )