home *** CD-ROM | disk | FTP | other *** search
- .key prg
- if not exists <prg>.Interface
- echo "Interface file not found"
- skip end
- endif
-
- CompInterface -i -p <prg>.Interface
- sc:c/asm -c <prg>.Interface.a
-
- if exists <prg>.c
- sc data=far math=ieee optimize objectname=<prg>.o <prg>
- slink <prg>.Interface.o <prg>.o TO Modules/<prg> LIBRARY Comal.lib Lib:scmieee.lib Lib:scnb.lib lib:Amiga.lib
- else
- slink <prg>.Interface.o TO Modules/<prg> LIBRARY Comal.lib Lib:scmieee.lib Lib:scnb.lib lib:Amiga.lib
- endif
- delete <prg>.Interface.o
- lab end
-