lix/make/examples/aterm/test/default.nix
2005-08-14 10:19:55 +00:00

16 lines
278 B
Nix

with (import ../../../lib);
let {
inherit (import ../aterm {}) libATerm;
compileTest = main: link {
objects = [(compileC {inherit main; cFlags = "-I../aterm";})];
libraries = libATerm;
};
body = [
(compileTest ./fib.c)
(compileTest ./primes.c)
];
}