From 36fb29f8f0317144a0074d7b6689912a4dc40325 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 2 May 2005 15:25:28 +0000 Subject: * Merge remaining stuff from the nix-make branch. * Add support for the creation of shared libraries to `compileC', `link', and `makeLibrary'. * Enable the ATerm library to be made into a shared library. --- make/examples/trivial/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 make/examples/trivial/default.nix (limited to 'make/examples/trivial/default.nix') diff --git a/make/examples/trivial/default.nix b/make/examples/trivial/default.nix new file mode 100644 index 000000000000..132245e5823f --- /dev/null +++ b/make/examples/trivial/default.nix @@ -0,0 +1,8 @@ +let { + + inherit (import ../../lib) compileC link; + + hello = link {objects = compileC {main = ./hello.c;};}; + + body = [hello]; +} -- cgit 1.4.1