|
Re: DIY Static Library
Actually, I use both. But, the Makefile approach used by WRS *is* the same as you find in Linux right down to the whitespace (e.g., tabs *not* spaces). Both use the GNU make facility and the binutils from GNU.
It's just that WRS puts a wrapper around the tools that check the license before allowing you to compile/link code. So, the easiest approach is to use the "host shell" option in the WRS Workbench tool to get to a command line and then invoke the make from there. That shell sets up the environment variables and paths needed for the WRS build system to work.
HTH,
Mike
|