about summary refs log blame commit diff
path: root/make/examples/aterm/test/default.nix
blob: e59b86b943006f06e43dacfdcd35f6e8472f259e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                           
 
     

                                        
                            
                                                                            
                         

    



                            
 
with (import ../../../lib);

let {
  inherit (import ../aterm {}) libATerm;

  compileTest = main: link {
    objects = [(compileC {inherit main; localIncludePath = [ ../aterm ];})];
    libraries = libATerm;
  };

  body = [
    (compileTest ./fib.c)
    (compileTest ./primes.c)
  ];
}