home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / sysba021.zip / SRC.ZIP / sysbar2 / Task_Switcher / makefile next >
Makefile  |  2002-12-28  |  1KB  |  29 lines

  1. !define BLANK ""
  2.  
  3. WATCOM = O:\WATCOM
  4.  
  5. all: sb2_switcher.exe
  6.  
  7. clean:
  8.  del *.exe *.obj *.res *.err *.imp *.lk1 *.mbr *.map *.sym
  9.  
  10. sb2_switcher.obj : sb2_switcher.cpp .AUTODEPEND
  11.  *wpp386 sb2_switcher.cpp -i=$(WATCOM)\h;$(WATCOM)\h\os2 -w4 -e25 -zq -otexan -hw -bm -4r -bt=os2 -mf -zp=1
  12.  
  13. sb2_switcher.res : sb2_switcher.rc .AUTODEPEND
  14.  rc -i $(WATCOM)\h -i $(WATCOM)\h\os2 -r sb2_switcher.rc sb2_switcher.res
  15.  
  16. sb2_switcher.exe : sb2_switcher.obj ..\sysbar2.dll ..\piper\cpuload\si.lib sb2_switcher.res .AUTODEPEND
  17.  @%write sb2_switcher.lk1 NAME sb2_switcher
  18.  @%append sb2_switcher.lk1 FIL sb2_switcher.obj
  19.  @%append sb2_switcher.lk1 LIBR ..\piper\cpuload\si.lib
  20. !ifneq BLANK "..\sysbar2.dll"
  21.  *wlib -q -n -b sb2_switcher.imp ..\sysbar2.dll
  22.  @%append sb2_switcher.lk1 LIBR sb2_switcher.imp
  23. !endif
  24.  *wlink SYS os2v2 pm op m op st=20000 op maxe=25 op q op symf @sb2_switcher.lk1
  25. !ifneq BLANK "sb2_switcher.res"
  26.  rc -i $(WATCOM)\h -i $(WATCOM)\h\os2 sb2_switcher.res sb2_switcher.exe
  27. !endif
  28.  
  29.