diff options
Diffstat (limited to 'make/examples/simple-header')
-rw-r--r-- | make/examples/simple-header/default.nix | 11 | ||||
-rw-r--r-- | make/examples/simple-header/hello.c | 9 | ||||
-rw-r--r-- | make/examples/simple-header/hello.h | 1 |
3 files changed, 0 insertions, 21 deletions
diff --git a/make/examples/simple-header/default.nix b/make/examples/simple-header/default.nix deleted file mode 100644 index e943471aaa4c..000000000000 --- a/make/examples/simple-header/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -let { - - inherit (import ../../lib) compileC link; - - hello = link {objects = compileC { - main = ./hello.c; - localIncludes = [ [./hello.h "hello.h"] ]; - };}; - - body = [hello]; -} diff --git a/make/examples/simple-header/hello.c b/make/examples/simple-header/hello.c deleted file mode 100644 index 15f1ac714e10..000000000000 --- a/make/examples/simple-header/hello.c +++ /dev/null @@ -1,9 +0,0 @@ -#include <stdio.h> - -#include "hello.h" - -int main(int argc, char * * argv) -{ - printf("Hello " WHAT "\n"); - return 0; -} diff --git a/make/examples/simple-header/hello.h b/make/examples/simple-header/hello.h deleted file mode 100644 index 4595fad98d43..000000000000 --- a/make/examples/simple-header/hello.h +++ /dev/null @@ -1 +0,0 @@ -#define WHAT "World" |