How to Make a Library File a Dependent of the Target in PWB (69751)
The information in this article applies to:
- Microsoft Programmer's Workbench for MS-DOS 1.0
- Microsoft Programmer's Workbench for MS-DOS 1.1
- Microsoft Programmer's Workbench for OS/2 1.0
- Microsoft Programmer's Workbench for OS/2 1.1
This article was previously published under Q69751 SUMMARY
In the Programmer's WorkBench (PWB), additional libraries may be
specified in a Program List. However, these libraries are not put into
the makefile as dependents of the target file. Thus, if one of these
libraries is changed, this does not cause the project to be rebuilt
unless you delete the existing target file or select Rebuild All to
rebuild the entire project.
To make a project automatically relink after an external library has
been modified, you need to modify two build switches. This can be done
permanently in the TOOLS.INI file or temporarily inside PWB in the
Editor Settings (which can be reached from the Options menu). Then you
must place the library(s) in the project's program list (as opposed to
the Additional Libraries list in the Link Options dialog box).
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kb16bitonly KB69751 |
---|
|