Re: Creating plain Makefiles with automake

2013-05-03 Thread Marko Kreen
On Thu, May 02, 2013 at 07:17:49AM +0900, Miles Bader wrote: > My experience adding custom make rules to Makefile.am (which AFAICT, > mostly just passes them through) is that I typically don't need to use > obscure features, mostly it's just bog-standard make rules with some > shell-scripting in th

Re: Creating plain Makefiles with automake

2013-04-29 Thread Marko Kreen
On Mon, Apr 29, 2013 at 06:21:32PM +0100, Gavin Smith wrote: > antimake and automake-ng (fork of automake targeting GNU make only) > require GNU make. The changes I've made also introduce a few potential > incompatibilities with make's other than GNU make, but I'm hopeful > that these will be minor

Re: Creating plain Makefiles with automake

2013-04-28 Thread Marko Kreen
On Wed, Apr 24, 2013 at 12:10:44AM +0100, Gavin Smith wrote: > In the long run I'd like to see creating and running a build system to be > as simple as doing something like > > $ echo >Makefile.am < bin_PROGRAMS = hello > hello_SOURCES = hello.c beetroot.h rhubarb.h second.c > END > $ automake > $

Re: [rfc] Antimake

2012-03-10 Thread Marko Kreen
On Sat, Mar 10, 2012 at 01:08:01PM -0500, Sam Varshavchik wrote: > Actually, my hack was even more generic, and allowed turnkey custom > definition of arbitrary build modes. > > BUILDMODES=prod > > was the default. > > BUILDMODES=prod debug > > was the release+debug build. A rule foreach-ed ove

Re: [rfc] Antimake

2012-03-10 Thread Marko Kreen
On Sat, Mar 10, 2012 at 08:54:00AM +0100, Stefano Lattarini wrote: > On 03/09/2012 11:26 PM, Marko Kreen wrote: > > > > Antimake is my attempt to fix "no good build system" problem - > > GNU Make library, but instead inventing custom conventions, > > it i

Re: [rfc] Antimake

2012-03-10 Thread Marko Kreen
On Fri, Mar 09, 2012 at 11:11:56PM -0500, Sam Varshavchik wrote: > Marko Kreen writes: > >Antimake is my attempt to fix "no good build system" problem - > >GNU Make library, but instead inventing custom conventions, > >it implements Automake syntax. > > >

Re: [rfc] Antimake

2012-03-10 Thread Marko Kreen
On Sat, Mar 10, 2012 at 09:52:10AM +0900, Miles Bader wrote: > Any sense on how it compares to quagmire? >From quick look: 1. Quagmire tries to replace autoconf and libtools too, Antimake is strictly build tool. It leaves system detection to autoconf and shared libs to libtool. 2. Despite

[rfc] Antimake

2012-03-09 Thread Marko Kreen
Antimake is my attempt to fix "no good build system" problem - GNU Make library, but instead inventing custom conventions, it implements Automake syntax. Example: bin_PROGRAMS = hello hello_SOURCES = hello.c include antimake.mk After writing such Makefile, you can run 'make' immediately,