lix/make/examples/aterm/test/default.nix

16 lines
288 B
Nix
Raw Normal View History

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