summaryrefslogtreecommitdiffstats
path: root/private/oleauto/sample/hello/mk.bat
diff options
context:
space:
mode:
Diffstat (limited to 'private/oleauto/sample/hello/mk.bat')
-rw-r--r--private/oleauto/sample/hello/mk.bat21
1 files changed, 21 insertions, 0 deletions
diff --git a/private/oleauto/sample/hello/mk.bat b/private/oleauto/sample/hello/mk.bat
new file mode 100644
index 000000000..f9a5d856f
--- /dev/null
+++ b/private/oleauto/sample/hello/mk.bat
@@ -0,0 +1,21 @@
+REM setup the environment for the hello makefile
+
+set OLDLIB=%LIB%
+set OLDPATH=%PATH%
+set OLDINC=%INCLUDE%
+
+set PATH=%TOOLS%\HDOS\BIN;%TOOLS%\HDOS\C800\BIN
+set LIB=%TOOLS%\HDOS\C800\LIB;%OLEPROG%\build\dispatch\DWIN16;%OLEPROG%\build\ole2nls\dwin16;%OLEPROG%\OLE\WIN16\D
+set INCLUDE=%TOOLS%\HDOS\C800\INCLUDE;%OLEPROG%\OLE\WIN16;%OLEPROG%\SRC\DISPATCH
+
+copy %OLEPROG%\OB\DWIN16\typelib.lib %OLEPROG%\sample\hello
+
+nmake %1 %2 %3 %4 %5
+
+set LIB=%OLDLIB%
+set PATH=%OLDPATH%
+set INCLUDE=%OLDINC%
+
+set OLDPATH=
+set OLDINC=
+set OLDLIB=