/sdk/samples/template/lib_template にあるライブラリビルドのサンプルで

int template_call(const char *str)
{
        pspDebugScreenPrintf("str = %s\n",str);
        return 0;
}

その中のtemplate_call関数を上記のように変更して生成したライブラリを

//他省略
#include "template.h"

int main(int argc, char* argv[])
{
        SetupCallbacks();

        pspDebugScreenInit();
        pspDebugScreenClear();

        test("Lib Link OK");

        sceKernelExitGame();

        return 0;
}

*Makefile
LIBDIR = ./生成したテストLibへの相対パス

という感じで使おうとしたのですが


>undefined reference to `template_call'
>collect2: ld returned 1 exit status

というエラーが出て正常にリンクされません
間違っている箇所を教えて下さい