File:  [OS/2 SDKs] / os2sdk / demos / examples / dynlink / dynlink.cmd
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:25:13 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: os2sdk-1988, os2sdk-1987, HEAD
Microsoft OS/2 SDK 12-15-1987

echo off
if .%1==. goto c
if %1==c goto c
if %1==asm goto asm
echo dynlink c	to make dynlib.dll with c modules (default)
echo dynlink asm	to make dynlib.dll with asm modules
goto end
:c
set DLLLST=dynlib.obj dynlib2.obj dyninit.obj
set DLLOBJ=dynlib+dynlib2+dyninit
goto make
:asm
set DLLLST=dynlib3.obj
set DLLOBJ=dynlib3
:make
rem	The environment variables LIB and INCLUDE must be set to point to
rem	the search paths for LINK libraries and CL includes respectively.
rem	Either set them here or in "initenv.cmd".
rem
set LIB=.;\lib
set INCLUDE=.;\include
make DLLLST="%DLLLST%" DLLOBJ="%DLLOBJ%" dynlink
set DLLLST=
set DLLOBJ=
:end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.