.key prg
if not exists <prg>.Interface
  echo "Interface file not found"
  skip end
endif

CompInterface -i <prg>.Interface
lc:asm  -c <prg>.Interface.a

if exists <prg>.c
  lc -b0 -fi -O -o<prg>.o <prg>
  blink <prg>.Interface.o <prg>.o TO Modules/<prg> LIBRARY Comal.lib lib:Amiga.lib Lib:lcnb.lib NODEBUG
else
  blink <prg>.Interface.o TO Modules/<prg> LIBRARY Comal.lib lib:Amiga.lib Lib:lcnb.lib NODEBUG
endif
delete <prg>.Interface.o
lab end
