about summary refs log tree commit diff
path: root/make/examples/not-so-simple-header
diff options
context:
space:
mode:
Diffstat (limited to 'make/examples/not-so-simple-header')
-rw-r--r--make/examples/not-so-simple-header/bar/hello.h1
-rw-r--r--make/examples/not-so-simple-header/default.nix14
-rw-r--r--make/examples/not-so-simple-header/foo/fnord/indirect.h3
-rw-r--r--make/examples/not-so-simple-header/foo/hello.c9
4 files changed, 0 insertions, 27 deletions
diff --git a/make/examples/not-so-simple-header/bar/hello.h b/make/examples/not-so-simple-header/bar/hello.h
deleted file mode 100644
index 4595fad98d43..000000000000
--- a/make/examples/not-so-simple-header/bar/hello.h
+++ /dev/null
@@ -1 +0,0 @@
-#define WHAT "World"
diff --git a/make/examples/not-so-simple-header/default.nix b/make/examples/not-so-simple-header/default.nix
deleted file mode 100644
index 61ded57c82bb..000000000000
--- a/make/examples/not-so-simple-header/default.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-let {
-
-  inherit (import ../../lib) compileC link;
-
-  hello = link {programName = "hello"; objects = compileC {
-    main = ./foo/hello.c;
-    localIncludes = [
-      [./foo/fnord/indirect.h "fnord/indirect.h"]
-      [./bar/hello.h "fnord/../../bar/hello.h"]
-    ];
-  };};
-
-  body = [hello];
-}
diff --git a/make/examples/not-so-simple-header/foo/fnord/indirect.h b/make/examples/not-so-simple-header/foo/fnord/indirect.h
deleted file mode 100644
index 2fde1e26c1dd..000000000000
--- a/make/examples/not-so-simple-header/foo/fnord/indirect.h
+++ /dev/null
@@ -1,3 +0,0 @@
-#define HELLO "Hello"
-
-#include "../../bar/hello.h"
diff --git a/make/examples/not-so-simple-header/foo/hello.c b/make/examples/not-so-simple-header/foo/hello.c
deleted file mode 100644
index 7d5b402ce5c2..000000000000
--- a/make/examples/not-so-simple-header/foo/hello.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <stdio.h>
-
-#include "fnord/indirect.h"
-
-int main(int argc, char * * argv)
-{
-    printf(HELLO " " WHAT "\n");
-    return 0;
-}