home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cment.zip
/
CCC2EXE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-05-19
|
1KB
|
34 lines
/******************************************************************************\
* *
* Compile .CCC file to .EXE *
* Copyright (C) 1994, The Masterpiece Software Company *
* *
\******************************************************************************/
ccc = Value(CCC,,OS2ENVIRONMENT);
acc = Arg(1);
If ccc = ''
Then ccc = 'ICC.EXE';
Do ii = 1 to Words(ccc); /* Append prelisted .OBJ and .LIB */
aa = Translate(Word(ccc,ii));
If Pos('.OBJ',aa) > 0,
| Pos('.LIB',aa) > 0
Then Do;
acc = acc || ' ' || Word(ccc,ii);
ccc = DelWord(ccc,ii,1);
End;
End;
Say ;
Say '====>' Date('O') Time() ccc acc '. . .';
'@'||ccc acc '2>&1';
'@DEL' Left(Arg(1),Pos('.',Arg(1))) || 'OBJ > NUL 2> NUL';
Exit 0;