How to add external .c library
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-24 7:02 PM
Hello,
for Maintenance purpose, I made a .c library folder outside of SPC5Studio project
so I just linked the library folder under source folder
but my library didn't compiled
How can i add external library file into project?
Thank you
Solved! Go to Solution.
This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION
Accepted Solutions
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-27 5:38 AM
Hello Dongil ,
you can add your library in user.mak
# List of all user C source files
U_C_SRC = ./main.c
# List of all user C++ source files
U_CPP_SRC =
# List of all user ASM source files
U_ASM_SRC =
# List all user C define here, like -D_DEBUG=1
UDEFS =
# Define ASM defines here
UADEFS =
# List all user directories here
UINCDIR =
# List the user directory to look for the libraries here
ULIBDIR =
# List all user libraries here
ULIBS =
Best regards
Erwan
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-02-27 5:38 AM
Hello Dongil ,
you can add your library in user.mak
# List of all user C source files
U_C_SRC = ./main.c
# List of all user C++ source files
U_CPP_SRC =
# List of all user ASM source files
U_ASM_SRC =
# List all user C define here, like -D_DEBUG=1
UDEFS =
# Define ASM defines here
UADEFS =
# List all user directories here
UINCDIR =
# List the user directory to look for the libraries here
ULIBDIR =
# List all user libraries here
ULIBS =
Best regards
Erwan
