about summary refs log tree commit diff
path: root/make/examples/simple-header
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09T12·48+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09T12·48+0000
commit3087b3f7513ce713e0b759f63b9a4e9142e46f82 (patch)
treeef9c92ef186a8336dc8d293f37052247a008cd06 /make/examples/simple-header
parenteb94581d399b8d0945b883b14c4a892fdab95dfc (diff)
* Obsolete.
Diffstat (limited to 'make/examples/simple-header')
-rw-r--r--make/examples/simple-header/default.nix11
-rw-r--r--make/examples/simple-header/hello.c9
-rw-r--r--make/examples/simple-header/hello.h1
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"