Finally, the Makefile for the local user library needs to be updated. To continue the example from the previous section, assume that the three new routines and any additional code are contained in a file named example.c. This file should be moved to the $DSTOOL_USER subdirectory and needs to be included in the user library. Edit the file $DSTOOL_USER/Makefile by including the new source code file in the SOURCES_B list. This becomes:
SOURCES_B = \ example.c
When the user's local version of dstool is recompiled, the new code will be incorporated into dstool. Recall that the compilation is initiated from the $DSTOOL_USER directory with the command make dstool_u.