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

  1. ## Using Help - Help for Special Cases
  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)\helpothr.res
  9. RC=rc.exe -DIC_PM
  10. !else
  11. ODIR=.\win
  12. ORES=
  13. RC=irc.exe -DIC_WIN -Fo$(ODIR)\helpothr.res
  14. !endif
  15.  
  16.  
  17. ALL : CREATEDIR $(ODIR)\helpothr.exe $(ODIR)\helpothr.hlp
  18.  
  19. !ifdef IC_PM
  20. $(ODIR)\helpothr.exe : $(ODIR)\helpothr.obj $(ODIR)\childhlp.obj $(ODIR)\helpothr.res
  21.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\helpothr.exe $(ODIR)\helpothr.obj \
  22.        $(ODIR)\childhlp.obj
  23.    $(RC) $(ODIR)\helpothr.res $(ODIR)\helpothr.exe
  24. !else
  25. $(ODIR)\helpothr.exe : $(ODIR)\helpothr.obj $(ODIR)\helpothr.res
  26.    icc $(CFLAGS) /B"$(LFLAGS)" /Fe$(ODIR)\helpothr.exe $(ODIR)\helpothr.obj \
  27.        $(ODIR)\helpothr.res
  28. !endif
  29.  
  30. $(ODIR)\helpothr.obj: helpothr.cpp helpothr.hpp helpothr.h hlppanel.h childhlp.hpp
  31. !ifdef IPF_COMPATIBLE
  32.    icc $(CFLAGS) /C+ /DIPF_COMPATIBLE /Fo$(ODIR)\helpothr.obj helpothr.cpp
  33. !else
  34.    icc $(CFLAGS) /C+ /Fo$(ODIR)\helpothr.obj helpothr.cpp
  35. !endif
  36.  
  37. $(ODIR)\childhlp.obj: childhlp.cpp childhlp.hpp
  38.    icc $(CFLAGS) /C+ /Fo$(ODIR)\childhlp.obj childhlp.cpp
  39.  
  40. $(ODIR)\helpothr.res: helpothr.rc helpothr.h hlppanel.h
  41.    $(RC) -r helpothr.rc $(ORES)
  42.  
  43. !ifdef IC_PM
  44. $(ODIR)\helpothr.hlp: helpothr.ipf hlppanel.h
  45.    icc /Pc- /Pe+ /Tdp helpothr.ipf
  46.    ipfc helpothr.i /x
  47.    del  helpothr.i
  48. !else
  49. !ifdef IPF_COMPATIBLE
  50. $(ODIR)\helpothr.hlp: helpothr.ipf hlppanel.h
  51.    icc /Pc- /Pe+ /Tdp helpothr.ipf
  52.    ipfc helpothr.i /x /q
  53.    del  helpothr.i
  54. !else
  55. $(ODIR)\helpothr.hlp: helpothr.hpj helpothr.rtf hlppanel.h
  56.    hcw /c /e helpothr.hpj
  57. !endif
  58. !endif
  59.    copy helpothr.hlp $(ODIR)
  60.    del  helpothr.hlp
  61.  
  62. CREATEDIR:
  63.   @if not exist $(ODIR)* md $(ODIR)
  64.  
  65.