From 617dbdb1bc2323910ba7e5890c6a47b36974b9b1 Mon Sep 17 00:00:00 2001 From: "Sunrim KIM (keen)" <3han5chou7@gmail.com> Date: Sat, 13 Jun 2015 05:33:49 +0900 Subject: [PATCH] update C API doc --- docs/capi.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/capi.rst b/docs/capi.rst index a2c31320..9297989b 100644 --- a/docs/capi.rst +++ b/docs/capi.rst @@ -8,12 +8,12 @@ Extension Library If you want to create a contribution library with C, the only thing you need to do is make a directory under contrib/. Below is a sample code of extension library. -* contrib/add/CMakeLists.txt +* contrib/add/nitro.mk .. sourcecode:: cmake - list(APPEND PICRIN_CONTRIB_INITS add) - list(APPEND PICRIN_CONTRIB_SOURCES ${PROJECT_SOURCE_DIR}/contrib/add/add.c) + CONTRIB_INITS += add + CONTRIB_SRCS += contrib/add/add.c * contrib/add/add.c