Re: genmake.scm

From: Erick Gallesio <Erick.Gallesio_at_unice.fr>
Date: Mon, 11 Oct 1999 17:18:37 +0200 (CEST)

Shiro Kawai writes:
> Inspired by Perl's extension mechanism, I modified stk-genmake
> to be a module to ease distribution and installation of STk
> extensions.
>
> The basic ides is that the extension writer provides a small file
> called Makefile.scm, which contains lines like these:
>
> (require "genmake")
> (generate-makefile :target-scm "extension.scm"
> :target-so "extention")
>
> To compile and install the extension, you will do
>
> stk Makefile.scm
> make
> make install
>
> At least it helps me to install my own code on different
> platforms. But I wonder if you think it's useful, or
> if there is already mechanisms something like this.

Of course this code is useful. I plan to integrate it in future
releases, but what we probably need is a tool similar to the
gtk-config tool which allows you to grab various informations
when the system was compiled. This is on my TODO list.


                -- Erick
Received on Mon Oct 11 1999 - 22:42:02 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST