home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / powergui / help / helptbl / makefile < prev   
Encoding:
Makefile  |  1996-10-29  |  1.4 KB  |  60 lines

  1. ## Using Help - Help Tables
  2.  
  3. CFLAGS = /Ft- /Gd+ /Ge+ /Gm+ /Wall+gnr-ppc-ppt-uni-vft-
  4. LFLAGS = /PM:PM
  5.  
  6. !ifdef IC_PM
  7. ODIR=.\os2
  8. ORES=$(ODIR)\helptbl.res
  9. RC=rc.exe -DIC_PM
  10. !else
  11. ODIR=.\win
  12. ORES=
  13. RC=irc.exe -DIC_WIN -Fo$(ODIR)\helptbl.res
  14. !endif
  15.  
  16.  
  17. ALL : CREATEDIR $(ODIR)\helptbl.exe $(ODIR)\helptbl.hlp
  18.  
  19. $(ODIR)\helptbl.exe : $(ODIR)\helptbl.obj $(ODIR)\helptbl.res
  20. !ifdef IC_PM
  21.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\helptbl.exe $(ODIR)\helptbl.obj
  22.    $(RC) $(ODIR)\helptbl.res $(ODIR)\helptbl.exe
  23. !else
  24.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\helptbl.exe $(ODIR)\helptbl.obj \
  25.        $(ODIR)\helptbl.res
  26. !endif
  27.  
  28. $(ODIR)\helptbl.obj: helptbl.cpp helptbl.h hlppanel.h
  29. !ifdef IPF_COMPATIBLE
  30.    icc $(CFLAGS) /C+ /DIPF_COMPATIBLE /Fo$(ODIR)\helptbl.obj helptbl.cpp
  31. !else
  32.    icc $(CFLAGS) /C+ /Fo$(ODIR)\helptbl.obj helptbl.cpp
  33. !endif
  34.  
  35. $(ODIR)\helptbl.res: helptbl.rc helptbl.h hlppanel.h
  36.    $(RC) -r helptbl.rc $(ORES)
  37.  
  38. !ifdef IC_PM
  39. $(ODIR)\helptbl.hlp: helptbl.ipf hlppanel.h
  40.    icc /Pc- /Pe+ /Tdp helptbl.ipf
  41.    ipfc helptbl.i /x
  42.    del  helptbl.i
  43. !else
  44. !ifdef IPF_COMPATIBLE
  45. $(ODIR)\helptbl.hlp: helptbl.ipf hlppanel.h
  46.    icc /Pc- /Pe+ /Tdp helptbl.ipf
  47.    ipfc helptbl.i /x /q
  48.    del  helptbl.i
  49. !else
  50. $(ODIR)\helptbl.hlp: helptbl.hpj helptbl.rtf hlppanel.h
  51.    hcw /c /e helptbl.hpj
  52. !endif
  53. !endif
  54.    copy helptbl.hlp $(ODIR)
  55.    del  helptbl.hlp
  56.  
  57. CREATEDIR:
  58.   @if not exist $(ODIR)* md $(ODIR)
  59.  
  60.