[Top][All Lists]

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

Re: Creating plain Makefiles with automake

From: Marko Kreen
Subject: Re: Creating plain Makefiles with automake
Date: Sun, 28 Apr 2013 22:50:07 +0300

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 > <<END
> bin_PROGRAMS = hello
> hello_SOURCES = hello.c beetroot.h rhubarb.h second.c
> $ automake
> $ make

Alternative way of simplification that is working well
for my own projects is " is Makefile":

  $ wget
  $ cat > Makefile <<EOF
  bin_PROGRAMS = hello
  hello_SOURCES = hello.c
  $ echo 'int main() { return 0; }' > hello.c
  $ make

Note - autoconf integration is available, but optional.  So above
sequence is really all that is needed to build.

Dedicated repo:

Changes since last year:
* C++ support moved out from core to extension.
* Experimental MSVC toolchain support (mainly to test core code
* Real-life testing via pgbouncer project.  Only few minor problems
  have surfaced.
* 'modes' extension, based on idea from Sam Varshavchik:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]