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 {
|
|
|
|
objects = [(compileC {inherit main; cFlags = "-I../aterm";})];
|
|
|
|
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
|
|
|
}
|