Use the TARGETNAME macro to specify the name of the library to be built. Do not include the file name extension.
You must have this macro in your sources file unless you set TARGETTYPE equal to NOTARGET.