From a75cb185be236f4d50617142c1c2bfea2ef3b5ae Mon Sep 17 00:00:00 2001 From: Bruce Perens Date: Mon, 25 Oct 2010 17:37:58 -0700 Subject: Add library target, to build a .a file for use in complex projects. Signed-off-by: Perry Hung --- README | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README') diff --git a/README b/README index 5e88e11..b7dd521 100644 --- a/README +++ b/README @@ -70,3 +70,11 @@ maple-library folder (macosx and windows). Write your program using /main.cpp as the entry point. Then just 'make help' and follow the directions! +Instructions to create a library +------------------------------------------------------------------------------ +If you have a complicated project with its own Makefile and multiple .c files, +or you're using an IDE that creates its own Makefile, you'll probably want to +load libmaple from an archive (a build-time library, not a DLL). Use the +"make library" target, and install build/libmaple.a and the appropriate headers +in your project's directory. At a minimum, the header set will include +libmaple.h, util.h, and libmaple_types.h -- cgit v1.2.3