aboutsummaryrefslogtreecommitdiff
path: root/make/examples/simple-header/default.nix
blob: e943471aaa4c51e295fabdd82fcf41c13a241c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
let {

  inherit (import ../../lib) compileC link;

  hello = link {objects = compileC {
    main = ./hello.c;
    localIncludes = [ [./hello.h "hello.h"] ];
  };};

  body = [hello];
}