2005-08-14 12:19:55 +02:00
|
|
|
with (import ../../../lib);
|
2005-05-02 17:25:28 +02:00
|
|
|
|
2005-08-14 12:19:55 +02:00
|
|
|
let {
|
2005-05-02 17:25:28 +02:00
|
|
|
inherit (import ../aterm {}) libATerm;
|
|
|
|
|
2005-08-14 12:19:55 +02:00
|
|
|
compileTest = main: link {
|
2005-08-14 16:00:39 +02:00
|
|
|
objects = [(compileC {inherit main; localIncludePath = [ ../aterm ];})];
|
2005-08-14 12:19:55 +02:00
|
|
|
libraries = libATerm;
|
2005-05-02 17:25:28 +02:00
|
|
|
};
|
|
|
|
|
2005-08-14 12:19:55 +02:00
|
|
|
body = [
|
|
|
|
(compileTest ./fib.c)
|
|
|
|
(compileTest ./primes.c)
|
|
|
|
];
|
2005-05-02 17:25:28 +02:00
|
|
|
}
|