Suppose $(BINFILES) is a list of files such as:
/bin/foo /sbin/bar /usr/bin/baz

I need to make each one of those depend on the program,
so that the program will be compiled before I try to
install it. None of these work:

$(BINFILES) : % : $(notdir %)
        $(install) --mode a=rx --strip $(notdir $@) $@

$(BINFILES) : $(notdir $@)
        $(install) --mode a=rx --strip $(notdir $@) $@

$(BINFILES) : $(@F)
        $(install) --mode a=rx --strip $(notdir $@) $@
 
How can I write this rule?


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

Reply via email to