Re: Custom Build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Kamaljit,

* Kamaljit Singh wrote on Sat, Oct 27, 2007 at 12:17:32AM CEST:
> 
> 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) ???

Not quite like the magic variables that Automake provides.

But there is one thing to remember: the contents of Makefile.am are
copied (almost) verbatim into Makefile.in, thus make it into Makefile
almost unchanged.  That means, you can just write "normal" make rules
for everything not yet supported by Automake (bear in mind such things
as using `SUFFIXES = ...' instead of `.SUFFIXES: ...' etc.).

That is not considered to be "ugly" by any means, by the way.
It may be more typing work, though.

Hope that helps.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux