I am using gnu make (3.79) and I have the following scenario

LIBDIR              = library/
HDRS               = pkg_one/foo1.h
                           pkg_two/foo2.h

INTFC_HDRS    = $(addprefix $(LIBDIR), $(notdir $(HDRS)))        #
library/foo1.h library/foo2.h


$(INTFC_HDRS): $(LIBDIR)% : $(TARGET_HDRS)$
        cp $< $@



Whenever one of the source headers change I want it to update in the
library, but I keep getting the error

 "make{1]: ***No rule to make target foo1.h"


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to