My apologies in sending it to the wrong list. Thanks for the tip, but my query is more in line with creating a archive/executable like functionality e.g.
install_ABC=hello_world hello_world_SRC=a.xyz b.xyz c.xyz leads to hello_world: $(MYARCHIVER) $(MYFLAGS) a.xyz b.xyz c.xyz > $@; ... kamaljit Eric Blake <[EMAIL PROTECTED]> wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Kamaljit Singh on 10/26/2007 4:17 PM: > Hi All, > > Is it possible to create custom build targets and dependencies quite like the > one for say C++ ? > For instance - > install_ABC=hello_world > hello_world_SRC=a.xyz b.xyz c.xyz > > where my own "compiler" would "compile" the SRC argument as and would > install it in $(installdir) ??? > > Any ideas how this maybe accomplished ? This looks more like an automake question, so I've redirected the mail accordingly. Perhaps the answer already lies in the automake manual, in creating your own suffix rules: http://sourceware.org/automake/automake.html#index-Adding-new-_0040code_007bSUFFIXES_007d-880 - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHIqo+84KuGfSFAYARAj4FAKDCXh9WcSPnzZy+awQjWXJrob3G0QCgpRTb xMsmgCRuEahVDBeqO/jyrJg= =dLZ8 -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/autoconf __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com