home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / doscall.zip / doscall.wmk < prev    next >
Text File  |  2000-10-13  |  1KB  |  32 lines

  1. .ERASE  # shredder target after error without asking
  2. .BEFORE
  3.         @cls
  4.  
  5. INST    =  G:\BIN
  6. CFLAGS  = -7 -fp5 -oscarl -s -wx -we -zq
  7.  
  8. help:                                                           .SYMBOLIC
  9.         @echo targets: all, doscall, clean, inst
  10.  
  11. doscall: clean all                                              .SYMBOLIC
  12.  
  13. inst:   clean all                                               .SYMBOLIC
  14.         @copy doscall.exe $(INST)
  15.  
  16. all:    doscall.exe                                             .SYMBOLIC
  17.         @echo made $?
  18.  
  19. clean:                                                          .SYMBOLIC
  20.         @if exist *.err @del *.err
  21.         @if exist *.obj @del *.obj
  22.         @if exist *.lst @del *.lst
  23.         @if exist *.lnk @del *.lnk
  24.         @if exist *.map @del *.map
  25.  
  26. dospawn.exe: dospawn.c
  27.         @wcl -bt=dos $(CFLAGS) -l=dos dospawn.c
  28.  
  29. doscall.exe: dospawn.exe doscall.c
  30.         @wcc386 -bt=os2 $(CFLAGS) doscall.c
  31.         @wcl386 -zq -l=os2v2 -"option stub=dospawn.exe" doscall.obj
  32.