"An hour of careful debugging can save you five minutes of reading the
documentation"
(See attached file: Makefile.watcom)
This version gets rid of the ugly double list of object files (one for the
linker, one for the dependencies ).
<EXPLANATION target="Watcom users">
WLINK expects the object files to be specified like this:
wlink FILE 1.obj,2.obj,etc_etc,n.obj NAME program.exe ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the format auto-generated by their IDE, BTW.
However, wlink also accepts an alternate way:
wlink FILE { 1.obj 2.obj etc_etc n.obj } NAME program.exe ...
What's more, this is actually present in the documentation (gasp)!
</EXPLANATION>
--
Csaba R�duly, Software Engineer Sophos Anti-Virus
email: [EMAIL PROTECTED] http://www.sophos.com
US support: +1 888 SOPHOS 9 UK Support: +44 1235 559933
=?iso-8859-1?Q?Makefile.watcom?=