home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / sysba021.zip / SRC.ZIP / sysbar2 / makefile < prev    next >
Makefile  |  2002-12-28  |  880b  |  30 lines

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