Hi Omer,
By default when you create an example with the wizard you can select between Application or library.
I've created a project for library and build it.
Extract of console:
+++++++++++++++++++++++
**** Clean-only build of configuration Debug for project test_lib_s12lisa ****
Build complete for project test_lib_s12lisa
**** Build of configuration Debug for project test_lib_s12lisa ****
"E:\\Freescale\\CW_MCU_v10.6\\gnu\\bin\\mingw32-make" -j8 all
'Building file: ../Lib/mylibrary.c'
'Executing target #1 ../Lib/mylibrary.c'
'Invoking: S12Z Compiler'
"E:/Freescale/CW_MCU_v10.6/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c @@"Lib/mylibrary.args" -o "Lib/mylibrary_c.obj" "../Lib/mylibrary.c" -MD -gccdep
'Finished building: ../Lib/mylibrary.c'
' '
'Building target: test_lib_s12lisa.lib'
'Executing target #2 test_lib_s12lisa.lib'
'Invoking: S12Z Libmaker'
"E:/Freescale/CW_MCU_v10.6/MCU/S12lisa_Tools/Build_Tools/libmaker" -NoPath -cmd( "./Lib/mylibrary_c.obj" = "test_lib_s12lisa.lib")
- ./Lib/mylibrary_c.obj
- E:\Temp_bis\Community\355016\MCU_10.6\test_lib_s12lisa\Debug\test_lib_s12lisa.lib
Listing of 'test_lib_s12lisa.lib' is written to 'E:\Temp_bis\Community\355016\MCU_10.6\test_lib_s12lisa\Debug\test_lib_s12lisa.lst'
'Finished building target: test_lib_s12lisa.lib'
' '
+++++++++++++++++++++++
May be there is an issue with the path.
Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------