home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
archives
/
ckc190.tar.gz
/
ckc190.tar
/
ckdcc.cli
< prev
next >
Wrap
Text File
|
1994-03-31
|
1KB
|
43 lines
comment
comment This CLI macro compiles C-Kermit for AOS/VS source files. It is
comment called by ckdmak.cli.
comment
comment %1%.ob is the object module
comment %1%.er is the error and status file
comment %1%.ls is the compiler listing if /ls was used
comment
comment If you are building Kermit on a system that is not running
comment AOS/VS II and AOS/VS II TCP/IP, you should remove the
comment DEFINE switches for TCPSOCKET and NETCONN. You may also
comment remove the DEFINE switch for INADDRX and the SEARCH
comment switches for :USR:LIB and :NET:UTIL.
comment
comment It is assumed that the appropriate C compiler, linker, and libraries
comment can be found in :C. If not, alter the following command as needed:
searchlist :c [!sea]
push
prompt pop
comment Delete garbage from the last run.
delete/1=warn/2=warn %1%.<er ob>
delete/1=ignore/2=ignore %1%.ls
comment Perform the compile.
[!eq %/%x,x]
wr Now doing %1%
[!else]
wr Now doing %1% with compiler options %/%
[!end]
[!neq %2%x,x]
wr Symbols defined: %2-%
[!end]
CC/EXTL/E==%1%.ER%/% %1% UXIII/DEFINE DEBUG/DEFINE TLOG/DEFINE &
NOANSI/DEFINE PARSENSE/DEFINE TCPSOCKET/DEFINE NETCONN/DEFINE &
datageneral/DEFINE INADDRX/DEFINE DYNAMIC/DEFINE TIMESTAMP/DEFINE &
NOJC/DEFINE NOSETBUF/DEFINE aosvs/DEFINE KANJI/DEFINE &
:USR:INCLUDE/SEARCH :NET:UTIL/SEARCH %2-%
pop