1
Two DOS Batch scripts have been provided for Windows:
3
cwmake.bat Metrowerks CodeWarrior C (MWCC)
4
vcmake.bat Microsoft Visual C (CL)
6
To create libvaxdata.o from here:
8
For Metrowerks CodeWarrior:
10
> "C:\Program Files\Metrowerks\CodeWarrior\Other Metrowerks Tools\
11
Command Line Tools\CWEnv.bat" [on a single line]
12
> cwmake.bat [ all | libvaxdata | clean ]
14
For Microsoft Visual C++:
16
> "C:\Program Files\Microsoft Visual Studio\VC98\Bin\VCVars32.bat"
17
> vcmake.bat [ all | libvaxdata | clean ]
19
Substitute the correct path to set up the compiler command-line environment for
20
your compiler. The default make target is all. The library and all object
21
files will be written here.
23
To link a C program with the library:
25
For Metrowerks CodeWarrior:
27
> MWLD program.obj path\libvaxdata.lib
29
For Microsoft Visual C++:
31
> LINK program.obj path\libvaxdata.lib
33
substituting the path to the library for here (assuming it has not been moved
34
or copied somewhere else).