tvl-depot/make/examples/aterm/test/default.nix

16 lines
288 B
Nix
Raw Normal View History

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