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