Sorry for my previous chaotic mail. I've constructed a simple
test case for my problem and hope that someone will comment:
bolinux72:afarber {555} cat Makefile
OBJDIR = objdir
SRCS = a.cpp \
src1/b.cpp
OBJS = $(addprefix $(OBJDIR)/, $(notdir $(SRCS:.cpp=.obj)))
all: $(OBJS)
$(OBJDIR)/%.obj: %.cpp
@echo g++ -o $@ -c $<
bolinux72:afarber {556} gmake
g++ -o objdir/a.obj -c a.cpp
gmake: *** No rule to make target `objdir/b.obj', needed by `all'. Stop.
_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make