home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / COMAL3-2.DMS / in.adf / ModuleDev / MakeMod.v60 < prev    next >
Encoding:
AmigaDOS Script File  |  1993-05-20  |  495 b   |  18 lines

  1. .key prg
  2. if not exists <prg>.Interface
  3.   echo "Interface file not found"
  4.   skip end
  5. endif
  6.  
  7. CompInterface -i -p <prg>.Interface
  8. sc:c/asm  -c <prg>.Interface.a
  9.  
  10. if exists <prg>.c
  11.   sc data=far math=ieee optimize objectname=<prg>.o <prg>
  12.   slink <prg>.Interface.o <prg>.o TO Modules/<prg> LIBRARY Comal.lib Lib:scmieee.lib Lib:scnb.lib lib:Amiga.lib
  13. else
  14.   slink <prg>.Interface.o TO Modules/<prg> LIBRARY Comal.lib Lib:scmieee.lib Lib:scnb.lib lib:Amiga.lib
  15. endif
  16. delete <prg>.Interface.o
  17. lab end
  18.