chicken-users
[Top][All Lists]
Advanced

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

Re: Help with egg definitions


From: Mario Domenech Goulart
Subject: Re: Help with egg definitions
Date: Sun, 19 Dec 2021 14:14:03 +0100

Hi Robert,

On Sun, 19 Dec 2021 01:37:30 -0330 foggy <foggynight709@gmail.com> wrote:

> I'm trying to figure out how to create the egg definition for a
> program with multiple compilation units. Could someone link me to an
> example of such a definition, or somehow help me with this?
>
> I'm currently just using `csc -o PROGRAM src/*.scm` in a makefile, and
> would like to replace this with an egg definition.

One way to achieve that is having, say, the-program.scm including (with
`include') src/part1.scm, src/part2.scm (and so on).

That would be something like

  (program the-program
    (source-dependencies "src/part1.scm" "src/part2.scm"))

in the .egg file.

All the best.
Mario
-- 
http://parenteses.org/mario



reply via email to

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